We are using the REV Robotics example code, with three changes:
- We fixed the compile error with ColorMatch.makeColor()
- We’re reading proximity with the
getProximity()
method. - We’re using the MXP I2C port (via to a NAVX) since the onboard I2C port is a known to cause issues.
When the robot power is cycled, the visible LED lights up as expected. However, once the robot program starts up the LED turns off.
From what I can find online, there is not supposed to be a programmatic way to turn the LED on and off, it can only be done with the switch on the sensor. How is it possible to get the LED to stay illuminated?