Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   C/C++ (http://www.chiefdelphi.com/forums/forumdisplay.php?f=183)
-   -   Help with 2010 Accelerometer & I2C (http://www.chiefdelphi.com/forums/showthread.php?t=80174)

jhersh 04-02-2010 19:00

Re: Help with 2010 Accelerometer & I2C
 
Make sure you are building the debug build of WPILib.

Bigcheese 04-02-2010 21:14

Re: Help with 2010 Accelerometer & I2C
 
FYI: They just released an update to WPILib that fixes all this and adds the ADXL345_I2C class.

It also (finally) adds support for reading 7 bytes instead of just 4. Now I can use the FIFO buffer on the device properly.

nabioullinr 07-02-2010 13:30

Re: Help with 2010 Accelerometer & I2C
 
I still receive 0.0 for all three axes, even after updating WPILib and removing the ADXL class I inserted earlier; any ideas?

jhersh 08-02-2010 15:16

Re: Help with 2010 Accelerometer & I2C
 
Quote:

Originally Posted by nabioullinr (Post 915103)
I still receive 0.0 for all three axes, even after updating WPILib and removing the ADXL class I inserted earlier; any ideas?

When your user program loads, what version of WPILib does it print out?


All times are GMT -5. The time now is 12:38.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi