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

Method lcd_write

mpython/lib/lcd2004.py:37–39  ·  view source on GitHub ↗
(self, cmd, RS=0)

Source from the content-addressed store, hash-verified

35
36 # write a command to lcd
37 def lcd_write(self, cmd, RS=0):
38 self.lcd_write_four_bits(RS | (cmd & 0xF0))
39 self.lcd_write_four_bits(RS | ((cmd << 4) & 0xF0))
40
41 def set_line(self, line, col=0):
42 if line == 1:

Callers 8

__init__Method · 0.95
set_lineMethod · 0.95
lcd_printMethod · 0.95
lcd_offMethod · 0.95
lcd_onMethod · 0.95
lcd_clearMethod · 0.95
lcd_backlightMethod · 0.95
lcdScrollFunction · 0.80

Calls 1

lcd_write_four_bitsMethod · 0.95

Tested by

no test coverage detected