#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() { }