Go Back   Rhinocerus > Newsgroup > Newsgroup comp.lang.* 1 > Newsgroup comp.lang.ada

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 07-17-2012, 07:47 PM
sergey.p.k@gmail.com
Guest
 
Posts: n/a
Default GNAT NXT - Light Sensor and Motors

Hi,

I'm playing with GNAT for Mindstorms, trying to program a basic line follower. My problem is I'm always getting a reading of 100 (percent) for the light sensor, regardless of any calibration attempts, and Enable_Floodlight(True); does not turn the light on.

Can it be because the NXT.Light_Sensors package only supports the NXT 1.0 light sensor, not the NXT 2.0 color sensor which I have?

Also, setting the motor power doesn't seem to work (I'm using NXT.Motors.Simple). Another version incompatibility?

Thanks
Sergej
Reply With Quote
Alt Today
Advertising
 
and become member of Rhinocerus
Standard Sponsored Links

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT. The time now is 11:20 PM.


Copyright ©2009

LinkBacks Enabled by vBSEO 3.3.0 RC2 © 2009, Crawlability, Inc.