mirror of
https://github.com/tinygo-org/drivers.git
synced 2026-08-20 14:39:00 +00:00
hd44780: fix 4-bit data length flag
This commit is contained in:
committed by
Ron Evans
parent
80913d5fe7
commit
905fc6fce3
+1
-1
@@ -126,7 +126,7 @@ func (d *Device) Configure(cfg Config) error {
|
||||
}
|
||||
|
||||
if d.datalength == DATA_LENGTH_4BIT {
|
||||
d.bus.Write([]byte{DATA_LENGTH_4BIT >> 4})
|
||||
d.bus.Write([]byte{DATA_LENGTH_4BIT})
|
||||
}
|
||||
|
||||
// Busy flag is now accessible
|
||||
|
||||
Reference in New Issue
Block a user