|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Using I2C to get sensor data?
I'm having some issues with getting I2C to work on the Java library. I'm using a triple axis magnetometer -> https://www.sparkfun.com/products/10530
This is the code i have -> http://pastebin.com/Ad9pbuf0 I used the same hex commands from the sparkfun tutorial -> https://www.sparkfun.com/tutorials/301 0x02 Select mode register 0x00 Continuous measurement mode 0x03 Select register 3, X MSB register (Most Significant Bit) Using the code above i get jumbled numbers back, and it does not update continuously. Thanks, Matthew Smith |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|