Fix lcd driver

This commit is contained in:
iabdalkader 2014-03-22 19:43:48 +02:00
parent fa541c6ecd
commit d13bd63dfe

View File

@ -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):