Libelium is offering new technical support channels, to contact with de Technical Support team to solve any issue our doubt please contact with your sales agent or visit our contact site



Post a new topicPost a reply Page 1 of 1   [ 2 posts ]
Author Message
 Post subject: MPU 6050 with WiringPi I2C Library for Raspberry Pi
PostPosted: Thu Nov 09, 2017 8:33 am 

Joined: Thu Nov 09, 2017 8:29 am
Posts: 1
I am new for Development. For Arduino Basic Usage
Code:
Wire.begin()
Begin using Wire in master mode, where you will initiate and control data transfers. This is the most common use when interfacing with most I2C peripheral chips.
Code:
Wire.begin(address)
Begin using Wire in slave mode, where you will respond at "address" when other I2C masters chips initiate communication. Transmitting
Code:
Wire.beginTransmission(address)
Start a new transmission to a device at "address". Master mode is used.
Code:
Wire.write(data)
Send data. In master mode, beginTransmission must be called first.
Code:
Wire.endTransmission()
In master mode, this ends the transmission and causes all buffered data to be sent.
Receiving
Code:
Wire.requestFrom(address, count)
Read "count" bytes from a device at "address". Master mode is used.
Code:
Wire.available()
Returns the number of bytes available by calling receive.
Code:
Wire.read()
Receive 1 byte.
How can I use similar function for Raspberry Pi ? Is it possible or Not ? I am using wiringPi Library.

Kindly help me to solve the problem. If you can provide example or sample that will be helpful for me.


Top
 Profile  
 
 Post subject: Re: MPU 6050 with WiringPi I2C Library for Raspberry Pi
PostPosted: Thu Nov 09, 2017 8:36 am 

Joined: Mon Sep 28, 2009 12:06 pm
Posts: 11366
Hi Geeva,

Please, contact directly with the manufacturer of the MPU 6050 module. Here we can give only support about our products.

Regards


Top
 Profile  
 
Display posts from previous:  Sort by  
Post a new topicPost a reply Page 1 of 1   [ 2 posts ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
cron


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Libelium theme based on 610nm Style by Daniel St. Jules of http://www.gamexe.net


© Libelium Comunicaciones Distribuidas S.L. | Terms of use.