This is where you talk about the NXJ hardware related topics such as the brick, sensors, LEGO pieces, etc
Moderators: roger, 99jonathan, imaqine
by 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
by 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: 677
- Joined: Mon Feb 05, 2007 1:27 pm
Return to NXJ Hardware
Who is online
Users browsing this forum: No registered users and 2 guests