/* Simple test of BTE block move */ #include #include /* Teensy3.x You are using 4 wire SPI here, so: MOSI: 11//Teensy3.x MISO: 12//Teensy3.x SCK: 13//Teensy3.x the rest of pin below: */ #define RA8875_CS 10 //any digital pin #define RA8875_RESET 9//any pin or 255 to disable it! RA8875 tft = RA8875(RA8875_CS,RA8875_RESET); void setup() { Serial.begin(38400); long unsigned debug_start = millis (); while (!Serial && ((millis () - debug_start) <= 400)) ; Serial.println("RA8875 start"); // begin display: Choose from: RA8875_480x272, RA8875_800x480, RA8875_800x480ALT, Adafruit_480x272, Adafruit_800x480 tft.begin(RA8875_800x480); //tft.setRotation(0); //fill a gradient, so we can test BTEing stuff around the screen for(int i=0;i