|
Re: getting adxl345 to work
The ADXL345 I2C Accelerometer example shows how to connect to and read from the device. Once you have it working, you can copy the Open into Begin.vi, copy the Close into Finish.vi, and copy the Read wherever you want to use it. Find the I2C RefNum get and set functions in the WPI Library -> Communications -> I2C function palette.
|