diff options
Diffstat (limited to 'sw/deps/hd44780-driver/src/bus')
-rw-r--r-- | sw/deps/hd44780-driver/src/bus/i2c_mcp23008.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sw/deps/hd44780-driver/src/bus/i2c_mcp23008.rs b/sw/deps/hd44780-driver/src/bus/i2c_mcp23008.rs index 1ccb479..09a7f2b 100644 --- a/sw/deps/hd44780-driver/src/bus/i2c_mcp23008.rs +++ b/sw/deps/hd44780-driver/src/bus/i2c_mcp23008.rs @@ -84,6 +84,11 @@ impl<I2C: Write> DataBus for I2CMCP23008Bus<I2C> { delay.delay_ms(1); + let pins = rs | backlight | (upper_nibble << 3); + self.set_pins(pins)?; + + delay.delay_ms(1); + let pins = rs | backlight | (lower_nibble << 3); self.set_pins(pins)?; |