RGB LED
Last updated
Last updated
By default the heartbeat LED flashes in blue colour once every 4s to signal that the system is alive. This can be overridden through the pycom
module.
The heartbeat LED is also used to indicate that an error was detected.
The following piece of code uses the RGB LED to make a traffic light that runs for 10 cycles.
Here is the expected result: