Joined: Tue Oct 04, 2011 6:05 am Posts: 1 Location: Thailand
How to USE LEGO Color Sensor In Light Active mode
I wanna know how to Use LEGO Color Sensor In Light Active mode like a general Light Sensor but I don't know how to configure it.
Mon Jan 30, 2012 12:34 pm
NeXT-Generation
Senior Roboticist
Joined: Wed Sep 28, 2011 10:13 pm Posts: 510 Location: Totally not spying on Hassenplug to see what he has for the Brickworld Chicago 2013 sumo contest.
Re: How to USE LEGO Color Sensor In Light Active mode
You can, of course, use any port you want. It returns the reflected light value as a integer, and lights the light as defined in the #pragma. i.e. sensorCOLORGREEN lights the Green LED.
_________________ A.K.A. inxt-generation Self-proclaimed genius, and future world dominator. My Brickshelf Folder "Don't they teach recreational mathematics anymore?" - The Tenth Doctor Bow down to Nikola Tesla, King of the Geek Gods.
Users browsing this forum: No registered users and 2 guests
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum