| Class |
Subclass |
Name |
Type |
Min |
Max |
Default |
Unit |
| Settings |
GPIO |
LED Pins Mask |
H1 |
0x0 |
0x1F |
0x16 |
— |
Description: Mask of which pins are
being used as LED.
- PIN8_LEDRL4
=
0x10
- PIN4_LEDRL2
= 0x04
- PIN3_LEDRL1
= 0x02
- PIN32_RL0 = 0x01
Note:
- The register selects pins in the RL
port which are assigned to the LED display. Pins are not required to be sequential in
the mask. For example setting LED Pins Mask to 0x16 would assign three
pins (RL1, RL2 and RL4) as LED outputs, leaving RL0 and RL3 for other functions. The
three pins assigned to LED's would still be referred to as LED1, LED2 and LED3. Note
that the thresholds for the display should be set appropriately for the number of LED
pins selected. LED outputs are always driven low to turn on the LED. The brightness
configuration of the LEDs is done via LEDC1 and LEDC0 under
Settings.Configuration.LED Configuration, which set a limit on the
sinking current.
- Setting LED Pins Mask to
0x17 would assign four pins (RL0,RL1, RL2 and RL4) as LED outputs, leaving RL3 for other
functions. The four pins assigned to LED's would still be referred to as LED1, LED2,LED3
and LED4. Since RL0 is the default DISP pin, make sure to configure
the DISP to Pin 9 through Settings.GPIO.Display pin
number.