MCPcopy Index your code
hub / github.com/endbasic/endbasic / lcd_write_data

Method lcd_write_data

st7735s/src/lib.rs:194–197  ·  view source on GitHub ↗

Writes data to the device. A register should have been selected before.

(pins: &mut P, spi_bus: &mut B, data: &[u8])

Source from the content-addressed store, hash-verified

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<()> {

Callers

nothing calls this directly

Calls 2

lcd_writeFunction · 0.85
writeMethod · 0.45

Tested by

no test coverage detected