View unanswered posts | View active topics It is currently Fri Oct 31, 2014 4:47 am






Reply to topic  [ 2 posts ] 
Accelerometer Help 
Author Message
Rookie

Joined: Mon Feb 01, 2010 11:13 pm
Posts: 1
Post Accelerometer Help
I am making a program for my robotics class that I need the accelerometer for. The problem is that I do not know how to get the SensorValue for the accelerometer. I know it is not a plain SensorValue because that would only be one axis of the accelerometer. Can anyone help me please?


Mon Feb 01, 2010 11:22 pm
Profile
Moderator
Moderator
User avatar

Joined: Wed Mar 05, 2008 8:14 am
Posts: 3227
Location: Rotterdam, The Netherlands
Post Re: Accelerometer Help
aditya8081,

I am not sure either, but you could use the driver from the 3rd party driver suite, which you can download here: [LINK]. There is an example program there that will show you how to use it. The program is called "HTAC-test1.c" and is included in the driver's zip file. There is also documentation on how the API works, which you can find in the html folder. Just open "index.html" in your browser.

Xander

_________________
| Professional Conduit of Reasonableness
| (Title bestowed upon on the 8th day of November, 2013)
| My Blog: I'd Rather Be Building Robots
| ROBOTC 3rd Party Driver Suite: [Project Page]


Tue Feb 02, 2010 1:53 am
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  



Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.