tinygo-org / drivers

TinyGo drivers for sensors, displays, wireless adaptors, and other devices that use I2C, SPI, GPIO, ADC, and UART interfaces.
https://tinygo.org
BSD 3-Clause "New" or "Revised" License
599 stars 188 forks source link

SPI version of driver for xpt2046 #477

Open gregoster opened 1 year ago

gregoster commented 1 year ago

Add support for an SPI version of a driver for xpt2046. Primary motivation for writing this was so that the xpt2046 and st7789 could share an SPI bus on a Waveshare Pico-Res Touch-LCD-2.8.