MCPcopy Create free account
hub / github.com/RetiredWizard/PyDOS / backlight_off

Method backlight_off

cpython/lib/lcd_api.py:113–120  ·  view source on GitHub ↗

Turns the backlight off. 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

111 self.hal_backlight_on()
112
113 def backlight_off(self):
114 """Turns the backlight off.
115
116 This isn't really an LCD command, but some modules have backlight
117 controls, so this allows the hal to pass through the command.
118 """
119 self.backlight = False
120 self.hal_backlight_off()
121
122 def move_to(self, cursor_x, cursor_y):
123 """Moves the cursor position to the indicated position. The cursor

Callers 2

lcdPrintFunction · 0.80
lcdScrollFunction · 0.80

Calls 1

hal_backlight_offMethod · 0.95

Tested by

no test coverage detected