10bit-adc value via i2c

Torch

Jul 26, 2012
9
Joined
Jul 26, 2012
Messages
9
Hi I am currently coding in c and wanting to know how to send more than 8-bit data via i2c. I have been successful in sending 8 bit data to my raspberry pi via my avr microcontroller. I am unable to send more than this. is it possible? i know the raspberry pi has methods that allow you to read different bytes sent via i2c but i am not sure how to send it. I have attached my code.
Regards
 

Attachments

  • i2c.txt
    1.4 KB · Views: 174

BobK

Jan 5, 2010
7,682
Joined
Jan 5, 2010
Messages
7,682
If you can send a byte, you can send 10 bits as 2 bytes.

Bob
 
Top