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

Method lcd_backlight

mpython/lib/lcd2004.py:74–80  ·  view source on GitHub ↗
(self, on)

Source from the content-addressed store, hash-verified

72 self.lcd_write(0x02) # Set Home
73
74 def lcd_backlight(self, on):
75 if on:
76 self.BKLIGHT = 0x08
77 else:
78 self.BKLIGHT = 0x00
79
80 self.lcd_write(0)

Callers 3

lcdPrintFunction · 0.80
lcdScrollFunction · 0.80
displayTempFunction · 0.80

Calls 1

lcd_writeMethod · 0.95

Tested by

no test coverage detected