![]() ![]() Here’s a very simple program that will display the currently detected colour on the screen. The NXT 2.0 Colour Sensor is super easy to use. Don’t let that word scare you off, I’ve been using it for months now and it’s never failed me. Don’t worry, though, it’s a very stable beta. In order to use the NXT 2.0 colour sensor you’ll need to make sure of one thing: you absolutely need at least ROBOTC 2.26.1 for NXT, anything less simply won’t work. “300 lines of code to read a simple colour?” you ask yourself.įear not, it’s a lot easier than that. You browse through the example programs that are shipped with ROBOTC and open the “ColorSensor.c” program. So you just bought yourself one of the NXT 2.0 Colour Sensors and you’re keen to get started with it.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |