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

Method lcd_write_four_bits

mpython/lib/lcd2004.py:32–34  ·  view source on GitHub ↗
(self, data)

Source from the content-addressed store, hash-verified

30 sleep_ms(1)
31
32 def lcd_write_four_bits(self, data):
33 self.i2c.writeto(self.address, bytes([data | self.BKLIGHT]))
34 self.lcd_strobe(data)
35
36 # write a command to lcd
37 def lcd_write(self, cmd, RS=0):

Callers 1

lcd_writeMethod · 0.95

Calls 1

lcd_strobeMethod · 0.95

Tested by

no test coverage detected