From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,cb17bff45016af1b X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,UTF8 X-Received: by 10.68.222.167 with SMTP id qn7mr101595pbc.1.1358939446752; Wed, 23 Jan 2013 03:10:46 -0800 (PST) X-Received: by 10.50.56.132 with SMTP id a4mr5101479igq.9.1358939446505; Wed, 23 Jan 2013 03:10:46 -0800 (PST) Path: s9ni12616pbb.0!nntp.google.com!f6no10846898pbd.1!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Wed, 23 Jan 2013 03:10:46 -0800 (PST) In-Reply-To: <0135562c-a0e5-4174-807f-772a8d3c9e25@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=93.180.160.52; posting-account=EdHY8woAAAAHOw-UHUayOiI7Qr8gFx5u NNTP-Posting-Host: 93.180.160.52 References: <0135562c-a0e5-4174-807f-772a8d3c9e25@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: GNAT NXT - Light Sensor and Motors From: landowskitomasz@gmail.com Injection-Date: Wed, 23 Jan 2013 11:10:46 +0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Date: 2013-01-23T03:10:46-08:00 List-Id: 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.=20 There is one think more, motors are working for me.=20 Regards Tomasz W dniu wtorek, 17 lipca 2012 21:47:04 UTC+2 u=C5=BCytkownik Sergej Ko=C5=A1= =C4=8Dejev napisa=C5=82: > Hi, >=20 >=20 >=20 > I'm playing with GNAT for Mindstorms, trying to program a basic line foll= ower. My problem is I'm always getting a reading of 100 (percent) for the l= ight sensor, regardless of any calibration attempts, and Enable_Floodlight(= True); does not turn the light on. >=20 >=20 >=20 > 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? >=20 >=20 >=20 > Also, setting the motor power doesn't seem to work (I'm using NXT.Motors.= Simple). Another version incompatibility? >=20 >=20 >=20 > Thanks >=20 > Sergej