mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
Fix lcd driver
This commit is contained in:
parent
fa541c6ecd
commit
d13bd63dfe
@ -17,11 +17,10 @@ def write_command(c):
|
||||
spi.write(c)
|
||||
cs.high()
|
||||
|
||||
def write_data(data):
|
||||
def write_data(c):
|
||||
cs.low()
|
||||
rs.high()
|
||||
for b in data:
|
||||
spi.write(b)
|
||||
spi.write(c)
|
||||
cs.high()
|
||||
|
||||
def clear(c=0x00):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user