HiTechnic Accelerometer and iCommand

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

Moderators: imaqine, 99jonathan, roger

New User
Posts: 1
Joined: Fri Jan 02, 2009 2:58 am

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!

leJOS Team Member
Posts: 965
Joined: Mon Feb 05, 2007 1:27 pm

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.

Return to “NXJ Hardware”

Who is online

Users browsing this forum: No registered users and 1 guest