This procedure may be called from within an interrupt procedure.
Each time it is called, the one LED is treated.
The procedure have to be called often enough to have a smooth rendering for the eyes.
If the BOLD option is used, the interface is:
procedure CharliePlexing(LEDs, B_LEDs: tLED_Mask);
Where:
- LEDs is the mask of the LEDs to be on (first is bit 0).
- B_LEDs is the mask of the LEDs to be BOLD.
Otherwise the interface is simplified:
procedure CharliePlexing(LEDs: tLEDs_Mask);
Where:
- LEDs is the mask of the LEDs to be on (first is bit 0).