Turns the backlight on. This isn't really an LCD command, but some modules have backlight controls, so this allows the hal to pass through the command.
(self)
| 102 | self.hal_write_command(self.LCD_ON_CTRL) |
| 103 | |
| 104 | def backlight_on(self): |
| 105 | """Turns the backlight on. |
| 106 | |
| 107 | This isn't really an LCD command, but some modules have backlight |
| 108 | controls, so this allows the hal to pass through the command. |
| 109 | """ |
| 110 | self.backlight = True |
| 111 | self.hal_backlight_on() |
| 112 | |
| 113 | def backlight_off(self): |
| 114 | """Turns the backlight off. |
no test coverage detected