HiTechnic Accelerometer and iCommand

This is where you talk about the NXJ hardware related topics such as the brick, sensors, LEGO pieces, etc.

Moderators: 99jonathan, roger, imaqine

HiTechnic Accelerometer and iCommand

Postby tmayborn » Fri Jan 23, 2009 3:33 am

Has anyone used the HiTechnic Accelerometer with iCommand? If so, can you provide me with some sample code? Thanks!
Beginner
tmayborn
New User
 
Posts: 1
Joined: Fri Jan 02, 2009 2:58 am

Postby lawrie » Mon Jan 26, 2009 4:48 pm

The TiltSensor class should work for the tilt values as these are the same for Mindsensors and HiTechnic. For the acceleation values you will probably have to look at the lejos version of TiltSensor and modify the iCommand version to do the same as that.
lawrie
leJOS Team Member
 
Posts: 929
Joined: Mon Feb 05, 2007 1:27 pm


Return to NXJ Hardware

Who is online

Users browsing this forum: No registered users and 0 guests

more stuff