comp.lang.ada
 help / color / mirror / Atom feed
From: landowskitomasz@gmail.com
Subject: Re: GNAT NXT - Light Sensor and Motors
Date: Wed, 23 Jan 2013 03:10:46 -0800 (PST)
Date: 2013-01-23T03:10:46-08:00	[thread overview]
Message-ID: <e971bdac-24fe-479b-b731-1cc43c676dfa@googlegroups.com> (raw)
In-Reply-To: <0135562c-a0e5-4174-807f-772a8d3c9e25@googlegroups.com>

Hi,
I am having exactly the same problem. Have you already solved it?

I'm developing line follower using ADA language and GNAT Environment, when I'm trying to get any value it is always 100. I am also using NXT 2.0. 

There is one think more, motors are working for me. 

Regards Tomasz

W dniu wtorek, 17 lipca 2012 21:47:04 UTC+2 użytkownik Sergej Koščejev napisał:
> 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	other threads:[~2013-01-23 11:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-17 19:47 GNAT NXT - Light Sensor and Motors sergey.p.k
2013-01-23 11:10 ` landowskitomasz [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox