Light Sensor doesn't work

Post your NXJ projects, project ideas, etc here!

Moderators: imaqine, 99jonathan, roger

Andrew Mihalyko
New User
Posts: 1
Joined: Mon Apr 26, 2010 2:07 pm

Light Sensor doesn't work

Postby Andrew Mihalyko » Mon Apr 26, 2010 2:21 pm

Hi everybody!!!
I bought a new Nxt, and tried with the lego programming language, and my light sensor worked. But after I changed to leJos, the color sensor died. Every time I try it shows:
And it always give 100 value if I ask for the value with getLightValue.:( I tried with every sensor port, and it doesn't help..:(( So please help me, what's the problem with it???

User avatar
leJOS Team Member
Posts: 5972
Joined: Fri Sep 28, 2007 2:06 pm
Location: UK

Postby gloomyandy » Mon Apr 26, 2010 2:31 pm

Have you read this thread...
If not please read all of the thread, you may need to update some of your leJOS files...

What program are you running to produce those numbers? You can use the leJOS ColorSensorTest sample to try out the sensor....


Return to “NXJ Projects”

Who is online

Users browsing this forum: Bing [Bot] and 0 guests