Update st7567.cpp

still trying to get this working properly
pull/560/head
Gee Bartlett 2022-10-06 12:28:22 +01:00
rodzic 8f645257c3
commit 2f7afad12d
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -140,8 +140,8 @@ namespace pimoroni {
command(reg::SETCOLH);
gpio_put(dc, 1); // data mode
gpio_put(cs, 0);
spi_write_blocking(spi, fb, PAGESIZE );
fb += (PAGESIZE/8);
spi_write_blocking(spi, fb, PAGESIZE/8 );
fb += (PAGESIZE);
gpio_put(cs, 1);
gpio_put(dc, 0); // Back to command mode