
and add missing features, too. There are two
libraries, both on GitHub and the Arduino library
manager, and one collection of example projects.
The first library is bb_spi_lcd (github.com/
bitbank2/bb_spi_lcd). It lets you talk to all the
different CYD displays by using a simple constant
name (e.g., DISPLAY_CYD) which contains the
correct configuration (LCD type and connection
pins) for your board It also includes the resistive
touch library with this same configuration. Here’s
an example of how simple this makes it to use on
your CYD. No other software solution is as simple.
#include <bb_spi_lcd.h>
BB_SPI_LCD lcd;
setup() {
lcd.begin(DISPLAY_CYD); ...