The EVK1100 provides 6 LEDs to design Human to Machine Interface during softwares development.
The pinout is as follows:
LED | Color | GPIO Name | Alternate function used |
---|---|---|---|
1 | Green | PB 27 | PWM_4 |
2 | Green | PB 28 | PWM_5 |
3 | Green | PB 29 | |
4 | Green | PB 30 | |
5 | Green/Red | PB 19/PB 20 | PWM_0/PWM_1 |
6 | Green/Red | PB 21/PB 22 | PWM_2/PWM_3 |
PWM channel are used to control LED5 and LED6. The software sequence is:
Configuration of the two pins of LED5 and/or LED6 as PWM channel output.
Control of the duty cycle of the PWM channel to change the LED color. This is done by changing the red and green ratio.