L2: The LED diode
Basic operation of a light-emitting diode.
Basic operation of a light-emitting diode.
Control of an external LED from the development board.
Development of an LED traffic light.
Controlling the brightness of an LED using a PWM output.
Controlling the colour and brightness of an RGB LED.
Communication between the development board and the computer through the serial port.
Connecting a pushbutton to the development board and reading its state by polling.
Controlling an RGB LED using commands sent from the computer’s COM monitor.
Connecting a pushbutton to the development board and reading its state using interrupts.
Executing instructions using a timer.
Creating a traffic light controlled by a timer that can be paused using a pushbutton.