3.8.3 LED

Figure 3-14. RGB LED for Status Indication

The RGB LED is controlled independently by three GPIOs from the microcontroller to show or mix red, green, and blue lighting colors. Theoretically, the user can generate almost all colors by mixing the three basic colors with duty control.

The indication function is not applied in this design, it is open for users to program the GPIOs to change the color of the RGB LED to indicate the measured distance.

The detailed GPIO pin definition is shown in the table below.

Table 3-7. RGB LED Pin Map
Part NameManufacturer Part NumberSignal NamePin in MCU
RGB LED19-337/R6GHBHC-A01/2TGreen_LED_PB3PB3
Red_LED_PB2PB2
Blue_LED_PB1PB1