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

Method display_off

cpython/lib/lcd_api.py:100–102  ·  view source on GitHub ↗

Turns off (i.e. blanks) the LCD.

(self)

Source from the content-addressed store, hash-verified

98 self.hal_write_command(self.LCD_ON_CTRL | self.LCD_ON_DISPLAY)
99
100 def display_off(self):
101 """Turns off (i.e. blanks) the LCD."""
102 self.hal_write_command(self.LCD_ON_CTRL)
103
104 def backlight_on(self):
105 """Turns the backlight on.

Callers 1

__init__Method · 0.95

Calls 1

hal_write_commandMethod · 0.95

Tested by

no test coverage detected