robertalab-ev3dev icon indicating copy to clipboard operation
robertalab-ev3dev copied to clipboard

Sensors do not turn off after program finishes

Open boonto opened this issue 7 years ago • 1 comments

In the resetState function the motors, LEDs and display are reset, but not the sensors. E.g. the color sensor's lights are still on after using it. I only tested it with the color sensor but it should be the case for all of them.

I do not know if this is a real issue or not.

boonto avatar Mar 02 '18 12:03 boonto

Good point, what do we do here with lejos? Reseting the modes to some sane default is probably a good idea, even more so when starting.

ensonic avatar Mar 08 '18 17:03 ensonic