tehviking / brick_pi_ruby

ruby wrappers for the BrickPi Lego Mindstorms C library
MIT License
7 stars 3 forks source link

Add helper methods for colour sensors #8

Open Floppy opened 10 years ago

Floppy commented 10 years ago

@tehviking I'm having some trouble getting anything useful out of the colour sensor. Have you had yours working?

Floppy commented 10 years ago

Got it working now, but only by setting all the ports to be colour sensors. Then it seems to work. This seems similar to reports in http://www.dexterindustries.com/forum/?topic=problems-with-lego-color-sensor/, so I don't think it's just me.

Floppy commented 10 years ago

Correction - not all four sensors, but to get port 1 working I had to enable colour sensors on ports 1 2 and 3.