Open fca1 opened 1 year ago
Tested (success) with micropython >V1.20 (idf 5.02), there is little mistake in the chapter : "working example"
The polarity is setted to '1', it's wrong : polarity=0 (sclk = 0 in idle state) for CG9a01 driver.
import machine import gc9a01 spi = machine.SPI(2, baudrate=40000000, polarity=1, sck=machine.Pin(18), mosi=machine.Pin(23))
Tested (success) with micropython >V1.20 (idf 5.02), there is little mistake in the chapter : "working example"
The polarity is setted to '1', it's wrong : polarity=0 (sclk = 0 in idle state) for CG9a01 driver.
ESP32
import machine import gc9a01 spi = machine.SPI(2, baudrate=40000000, polarity=1, sck=machine.Pin(18), mosi=machine.Pin(23))