You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
420 B

#include "TFT_eSPI.h"
TFT_eSPI tft;
// int tabPieces[4][2]={{4, 35}, {2, 15}, {100, 5}, {45, 120}, {90, 100}};
void setup() {
tft.begin();
tft.setRotation(3); // (0,0) à l'oppossé du joyssitck
tft.fillScreen(TFT_WHITE); // fond blanc
pinMode(WIO_5S_UP, INPUT_PULLUP);
pinMode(WIO_5S_DOWN, INPUT_PULLUP);
pinMode(WIO_5S_LEFT, INPUT_PULLUP);
pinMode(WIO_5S_RIGHT, INPUT_PULLUP);
}
void loop() {
}