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???