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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,cb17bff45016af1b,start X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.66.89.196 with SMTP id bq4mr149476pab.26.1343100018646; Mon, 23 Jul 2012 20:20:18 -0700 (PDT) Path: b9ni44301717pbl.0!nntp.google.com!border1.nntp.dca.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!border2.nntp.ams.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!news.nobody.at!feeder.erje.net!news2.arglkargh.de!news.glorb.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: sergey.p.k@gmail.com Newsgroups: comp.lang.ada Subject: GNAT NXT - Light Sensor and Motors Date: Tue, 17 Jul 2012 12:47:04 -0700 (PDT) Organization: http://groups.google.com Message-ID: <0135562c-a0e5-4174-807f-772a8d3c9e25@googlegroups.com> NNTP-Posting-Host: 109.91.145.203 Mime-Version: 1.0 X-Trace: posting.google.com 1342554541 13297 127.0.0.1 (17 Jul 2012 19:49:01 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 17 Jul 2012 19:49:01 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=109.91.145.203; posting-account=Jp71yAoAAABbiaA3RL9WE3sFuTuvdMg6 User-Agent: G2/1.0 X-Received-Bytes: 1464 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Date: 2012-07-17T12:47:04-07:00 List-Id: Hi, I'm playing with GNAT for Mindstorms, trying to program a basic line follow= er. My problem is I'm always getting a reading of 100 (percent) for the lig= ht sensor, regardless of any calibration attempts, and Enable_Floodlight(Tr= ue); does not turn the light on. Can it be because the NXT.Light_Sensors package only supports the NXT 1.0 l= ight 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.Si= mple). Another version incompatibility? Thanks Sergej