MCPcopy Index your code
hub / github.com/RetiredWizard/PyDOS / backlight_on

Method backlight_on

cpython/lib/lcd_api.py:104–111  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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.

Callers 1

__init__Method · 0.95

Calls 1

hal_backlight_onMethod · 0.95

Tested by

no test coverage detected