This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to configure 13 LEDs output?



Under hal-led.h

how many LED output can we configure? This is what I did for 8 LEDs ouput.

#define HAL_LED_1 0x01
#define HAL_LED_2 0x02
#define HAL_LED_3 0x04
#define HAL_LED_4 0x08
#define HAL_LED_5 0x10
#define HAL_LED_6 0x20
#define HAL_LED_7 0x40
#define HAL_LED_8 0x80
#define HAL_LED_ALL (HAL_LED_1 | HAL_LED_2 | HAL_LED_3 | HAL_LED_4 | HAL_LED_5 | HAL_LED_6 | HAL_LED_7 | HAL_LED_8)

What if I want 13 LEDs output.

What should it look like?

...
#define HAL_LED_7 0x40
#define HAL_LED_8 0x80
#define HAL_LED_9 0x??
#define HAL_LED_10 0x??
#define HAL_LED_11 0x??
#define HAL_LED_12 0x??
#define HAL_LED_13 0x??

Thank you