pyb
time
sensor
image
nn
gif
mjpeg
lcd
fir
tv
cpufreq
omv
The LED object controls an individual LED (Light Emitting Diode).
pyb.
LED
Create an LED object associated with the given LED:
id is the LED number, 1-4.
id
LED.
off
Turn the LED off.
on
Turn the LED on, to maximum intensity.
toggle
Toggle the LED between on (maximum intensity) and off. If the LED is at non-zero intensity then it is considered “on” and toggle will turn it off.