Home→Forums→MonoBrick EV3 Firmware→EV3ColorSensor how to turn it off.
Tagged: EV3ColorSensor off
I think that the MonoBrick is great, thank you so much.
However, I am working on a four connected robot and for that I am using a EV3ColorSensor.
My problem was that I was unable to turn it off after detecting the color.
Looking at the source code of the EV3ColorSensor I created this class:
private class EV3ColorSensorEx : EV3ColorSensor
public EV3ColorSensorEx(SensorPort port, ColorMode mode)
: base(port, mode)
public void Off()
It seems to be doing what I expect, but I would expect something easier.
Have I overlooked something?
Thanks for using MonoBrick Firmware. I hope you like it
It seems pretty easy to me – am I missing something?
You must be logged in to reply to this topic.