![]() |
getting adxl345 to work
Greetings
I'm a mentor in software in a rookie team and we're trying to get the ADXL345 accelerometer sensor to work with no luck. It's kind of frustrating since we have 4 days in this with no luck. Do somebody know a tutorial that actually explains how to get this sensor to work step by step? because the example code that is in the NI page we are not understanding what they do and how to use that info to actually make it work in our program. Please note that we're using LabView 2012, and that we're a rookie team and this is the first year we're competing. Thanks in advance. |
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.
|
Re: getting adxl345 to work
Thank you a lot, the only tutorial we found on internet was using the other protocol, but now that you said it it makes a lot of sense.
I think we were just too frustrated because we didn't make work at first. I'll try that and let you know it all went. Thanks |
Re: getting adxl345 to work
Ok i make it work, Thanks a lot for your help
|
| All times are GMT -5. The time now is 11:32. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi