This is where you talk about the NXJ hardware related topics such as the brick, sensors, LEGO pieces, etc.
Moderators: roger, imaqine, 99jonathan
- New User
- Posts: 1
- Joined: Fri Jan 02, 2009 2:58 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
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