Writes data to the device. A register should have been selected before.
(pins: &mut P, spi_bus: &mut B, data: &[u8])
| 192 | |
| 193 | /// Writes data to the device. A register should have been selected before. |
| 194 | fn lcd_write_data(pins: &mut P, spi_bus: &mut B, data: &[u8]) -> io::Result<()> { |
| 195 | pins.write(OUTPUT_PIN_DC, true)?; |
| 196 | lcd_write(spi_bus, data) |
| 197 | } |
| 198 | |
| 199 | /// Resets the LCD. |
| 200 | fn lcd_reset(pins: &mut P) -> io::Result<()> { |