No to jest chyba coś jest nie tak - pytanie czy z wyświetlaczem, czy z płytką.
Po wgraniu pierwszego szkicu ekran z jasnego zamienia się powoli w ciemny i tak zostaje
FilmikA przy kompilacji tego drugiego wywala mi całą litanię:
Kod:
Andy_Ada_graphicstest_with_Times.cpp.o: In function `testCircles(unsigned char, unsigned int)':
/Users/Tomek/Andy_Ada_graphicstest_with_Times.ino:282: undefined reference to `Adafruit_GFX_AS::width()'
/Users/Tomek/Andy_Ada_graphicstest_with_Times.ino:283: undefined reference to `Adafruit_GFX_AS::height()'
/Users/Tomek/Andy_Ada_graphicstest_with_Times.ino:290: undefined reference to `Adafruit_GFX_AS::drawCircle(int, int, int, unsigned int)'
Andy_Ada_graphicstest_with_Times.cpp.o: In function `__static_initialization_and_destruction_0':
/Users/Tomek/Andy_Ada_graphicstest_with_Times.ino:44: undefined reference to `Adafruit_ILI9341_8bit_AS::Adafruit_ILI9341_8bit_AS(unsigned char, unsigned char, unsigned char, unsigned char, unsigned char)'
Andy_Ada_graphicstest_with_Times.cpp.o: In function `testFillScreen()':
/Users/Tomek/Andy_Ada_graphicstest_with_Times.ino:129: undefined reference to `Adafruit_ILI9341_8bit_AS::fillScreen(unsigned int)'
/Users/Tomek/Andy_Ada_graphicstest_with_Times.ino:130: undefined reference to `Adafruit_ILI9341_8bit_AS::fillScreen(unsigned int)'
/Users/Tomek/Andy_Ada_graphicstest_with_Times.ino:131: undefined reference to `Adafruit_ILI9341_8bit_AS::fillScreen(unsigned int)'
/Users/Tomek/Andy_Ada_graphicstest_with_Times.ino:132: undefined reference to `Adafruit_ILI9341_8bit_AS::fillScreen(unsigned int)'
/Users/Tomek/Andy_Ada_graphicstest_with_Times.ino:133: undefined reference to `Adafruit_ILI9341_8bit_AS::fillScreen(unsigned int)'
Andy_Ada_graphicstest_with_Times.cpp.o:/Users/Tomek/Andy_Ada_graphicstest_with_Times.ino:138: more undefined references to `Adafruit_ILI9341_8bit_AS::fillScreen(unsigned int)' follow
Andy_Ada_graphicstest_with_Times.cpp.o: In function `testText()':
/Users/Tomek/Andy_Ada_graphicstest_with_Times.ino:140: undefined reference to `Adafruit_GFX_AS::setCursor(int, int)'
/Users/Tomek/Andy_Ada_graphicstest_with_Times.ino:141: undefined reference to `Adafruit_GFX_AS::setTextColor(unsigned int)'
/Users/Tomek/Andy_Ada_graphicstest_with_Times.ino:141: undefined reference to `Adafruit_GFX_AS::setTextSize(unsigned char)'
/Users/Tomek/Andy_Ada_graphicstest_with_Times.ino:143: undefined reference to `Adafruit_GFX_AS::setTextColor(unsigned int)'
/Users/Tomek/Andy_Ada_graphicstest_with_Times.ino:143: undefined reference to `Adafruit_GFX_AS::setTextSize(unsigned char)'
/Users/Tomek/Andy_Ada_graphicstest_with_Times.ino:145: undefined reference to `Adafruit_GFX_AS::setTextColor(unsigned int)'
/Users/Tomek/Andy_Ada_graphicstest_with_Times.ino:145: undefined reference to `Adafruit_GFX_AS::setTextSize(unsigned char)'
/Users/Tomek/Andy_Ada_graphicstest_with_Times.ino:148: undefined reference to `Adafruit_GFX_AS::setTextColor(unsigned int)'
/Users/Tomek/Andy_Ada_graphicstest_with_Times.ino:149: undefined reference to `Adafruit_GFX_AS::setTextSize(unsigned char)'
/Users/Tomek/Andy_Ada_graphicstest_with_Times.ino:151: undefined reference to `Adafruit_GFX_AS::setTextSize(unsigned char)'
/Users/Tomek/Andy_Ada_graphicstest_with_Times.ino:153: undefined reference to `Adafruit_GFX_AS::setTextSize(unsigned char)'
Andy_Ada_graphicstest_with_Times.cpp.o: In function `loop':
/Users/Tomek/Andy_Ada_graphicstest_with_Times.ino:121: undefined reference to `Adafruit_ILI9341_8bit_AS::setRotation(unsigned char)'
Andy_Ada_graphicstest_with_Times.cpp.o: In function `testLines(unsigned int)':
/Users/Tomek/Andy_Ada_graphicstest_with_Times.ino:167: undefined reference to `Adafruit_GFX_AS::width()'
/Users/Tomek/Andy_Ada_graphicstest_with_Times.ino:168: undefined reference to `Adafruit_GFX_AS::height()'
/Users/Tomek/Andy_Ada_graphicstest_with_Times.ino:170: undefined reference to `Adafruit_ILI9341_8bit_AS::fillScreen(unsigned int)'
/Users/Tomek/Andy_Ada_graphicstest_with_Times.ino:180: undefined reference to `Adafruit_ILI9341_8bit_AS::fillScreen(unsigned int)'
/Users/Tomek/Andy_Ada_graphicstest_with_Times.ino:191: undefined reference to `Adafruit_ILI9341_8bit_AS::fillScreen(unsigned int)'
/Users/Tomek/Andy_Ada_graphicstest_with_Times.ino:202: undefined reference to `Adafruit_ILI9341_8bit_AS::fillScreen(unsigned int)'
Andy_Ada_graphicstest_with_Times.cpp.o: In function `testRects(unsigned int)':
/Users/Tomek/Andy_Ada_graphicstest_with_Times.ino:230: undefined reference to `Adafruit_GFX_AS::width()'
/Users/Tomek/Andy_Ada_graphicstest_with_Times.ino:231: undefined reference to `Adafruit_GFX_AS::height()'
/Users/Tomek/Andy_Ada_graphicstest_with_Times.ino:233: undefined reference to `Adafruit_ILI9341_8bit_AS::fillScreen(unsigned int)'
/Users/Tomek/Andy_Ada_graphicstest_with_Times.ino:234: undefined reference to `Adafruit_GFX_AS::width()'
/Users/Tomek/Andy_Ada_graphicstest_with_Times.ino:234: undefined reference to `Adafruit_GFX_AS::height()'
/Users/Tomek/Andy_Ada_graphicstest_with_Times.ino:234: undefined reference to `Adafruit_GFX_AS::width()'
/Users/Tomek/Andy_Ada_graphicstest_with_Times.ino:234: undefined reference to `Adafruit_GFX_AS::height()'
Andy_Ada_graphicstest_with_Times.cpp.o: In function `testFilledCircles(unsigned char, unsigned int)':
/Users/Tomek/Andy_Ada_graphicstest_with_Times.ino:266: undefined reference to `Adafruit_GFX_AS::width()'
/Users/Tomek/Andy_Ada_graphicstest_with_Times.ino:266: undefined reference to `Adafruit_GFX_AS::height()'
/Users/Tomek/Andy_Ada_graphicstest_with_Times.ino:268: undefined reference to `Adafruit_ILI9341_8bit_AS::fillScreen(unsigned int)'
/Users/Tomek/Andy_Ada_graphicstest_with_Times.ino:272: undefined reference to `Adafruit_GFX_AS::fillCircle(int, int, int, unsigned int)'
Andy_Ada_graphicstest_with_Times.cpp.o: In function `testTriangles()':
/Users/Tomek/Andy_Ada_graphicstest_with_Times.ino:299: undefined reference to `Adafruit_GFX_AS::width()'
/Users/Tomek/Andy_Ada_graphicstest_with_Times.ino:300: undefined reference to `Adafruit_GFX_AS::height()'
/Users/Tomek/Andy_Ada_graphicstest_with_Times.ino:302: undefined reference to `Adafruit_ILI9341_8bit_AS::fillScreen(unsigned int)'
/Users/Tomek/Andy_Ada_graphicstest_with_Times.ino:310: undefined reference to `Adafruit_ILI9341_8bit_AS::color565(unsigned char, unsigned char, unsigned char)'
/Users/Tomek/Andy_Ada_graphicstest_with_Times.ino:310: undefined reference to `Adafruit_GFX_AS::drawTriangle(int, int, int, int, int, int, unsigned int)'
Andy_Ada_graphicstest_with_Times.cpp.o: In function `testFilledTriangles()':
/Users/Tomek/Andy_Ada_graphicstest_with_Times.ino:318: undefined reference to `Adafruit_GFX_AS::width()'
/Users/Tomek/Andy_Ada_graphicstest_with_Times.ino:319: undefined reference to `Adafruit_GFX_AS::height()'
/Users/Tomek/Andy_Ada_graphicstest_with_Times.ino:321: undefined reference to `Adafruit_ILI9341_8bit_AS::fillScreen(unsigned int)'
/Users/Tomek/Andy_Ada_graphicstest_with_Times.ino:326: undefined reference to `Adafruit_ILI9341_8bit_AS::color565(unsigned char, unsigned char, unsigned char)'
/Users/Tomek/Andy_Ada_graphicstest_with_Times.ino:326: undefined reference to `Adafruit_GFX_AS::fillTriangle(int, int, int, int, int, int, unsigned int)'
/Users/Tomek/Andy_Ada_graphicstest_with_Times.ino:329: undefined reference to `Adafruit_ILI9341_8bit_AS::color565(unsigned char, unsigned char, unsigned char)'
/Users/Tomek/Andy_Ada_graphicstest_with_Times.ino:329: undefined reference to `Adafruit_GFX_AS::drawTriangle(int, int, int, int, int, int, unsigned int)'
Andy_Ada_graphicstest_with_Times.cpp.o: In function `testRoundRects()':
/Users/Tomek/Andy_Ada_graphicstest_with_Times.ino:338: undefined reference to `Adafruit_GFX_AS::width()'
/Users/Tomek/Andy_Ada_graphicstest_with_Times.ino:339: undefined reference to `Adafruit_GFX_AS::height()'
/Users/Tomek/Andy_Ada_graphicstest_with_Times.ino:341: undefined reference to `Adafruit_ILI9341_8bit_AS::fillScreen(unsigned int)'
/Users/Tomek/Andy_Ada_graphicstest_with_Times.ino:342: undefined reference to `Adafruit_GFX_AS::width()'
/Users/Tomek/Andy_Ada_graphicstest_with_Times.ino:342: undefined reference to `Adafruit_GFX_AS::height()'
/Users/Tomek/Andy_Ada_graphicstest_with_Times.ino:342: undefined reference to `Adafruit_GFX_AS::width()'
/Users/Tomek/Andy_Ada_graphicstest_with_Times.ino:342: undefined reference to `Adafruit_GFX_AS::height()'
/Users/Tomek/Andy_Ada_graphicstest_with_Times.ino:346: undefined reference to `Adafruit_ILI9341_8bit_AS::color565(unsigned char, unsigned char, unsigned char)'
/Users/Tomek/Andy_Ada_graphicstest_with_Times.ino:346: undefined reference to `Adafruit_GFX_AS::drawRoundRect(int, int, int, int, int, unsigned int)'
Andy_Ada_graphicstest_with_Times.cpp.o: In function `testFilledRoundRects()':
/Users/Tomek/Andy_Ada_graphicstest_with_Times.ino:355: undefined reference to `Adafruit_GFX_AS::width()'
/Users/Tomek/Andy_Ada_graphicstest_with_Times.ino:356: undefined reference to `Adafruit_GFX_AS::height()'
/Users/Tomek/Andy_Ada_graphicstest_with_Times.ino:358: undefined reference to `Adafruit_ILI9341_8bit_AS::fillScreen(unsigned int)'
/Users/Tomek/Andy_Ada_graphicstest_with_Times.ino:360: undefined reference to `Adafruit_GFX_AS::width()'
/Users/Tomek/Andy_Ada_graphicstest_with_Times.ino:360: undefined reference to `Adafruit_GFX_AS::height()'
/Users/Tomek/Andy_Ada_graphicstest_with_Times.ino:360: undefined reference to `Adafruit_GFX_AS::width()'
/Users/Tomek/Andy_Ada_graphicstest_with_Times.ino:360: undefined reference to `Adafruit_GFX_AS::height()'
/Users/Tomek/Andy_Ada_graphicstest_with_Times.ino:362: undefined reference to `Adafruit_ILI9341_8bit_AS::color565(unsigned char, unsigned char, unsigned char)'
/Users/Tomek/Andy_Ada_graphicstest_with_Times.ino:362: undefined reference to `Adafruit_GFX_AS::fillRoundRect(int, int, int, int, int, unsigned int)'
Andy_Ada_graphicstest_with_Times.cpp.o: In function `testFastLines(unsigned int, unsigned int)':
/Users/Tomek/Andy_Ada_graphicstest_with_Times.ino:217: undefined reference to `Adafruit_GFX_AS::width()'
/Users/Tomek/Andy_Ada_graphicstest_with_Times.ino:217: undefined reference to `Adafruit_GFX_AS::height()'
/Users/Tomek/Andy_Ada_graphicstest_with_Times.ino:219: undefined reference to `Adafruit_ILI9341_8bit_AS::fillScreen(unsigned int)'
/Users/Tomek/Andy_Ada_graphicstest_with_Times.ino:221: undefined reference to `Adafruit_ILI9341_8bit_AS::drawFastHLine(int, int, int, unsigned int)'
/Users/Tomek/Andy_Ada_graphicstest_with_Times.ino:222: undefined reference to `Adafruit_ILI9341_8bit_AS::drawFastVLine(int, int, int, unsigned int)'
Andy_Ada_graphicstest_with_Times.cpp.o: In function `testFilledRects(unsigned int, unsigned int)':
/Users/Tomek/Andy_Ada_graphicstest_with_Times.ino:247: undefined reference to `Adafruit_GFX_AS::width()'
/Users/Tomek/Andy_Ada_graphicstest_with_Times.ino:248: undefined reference to `Adafruit_GFX_AS::height()'
/Users/Tomek/Andy_Ada_graphicstest_with_Times.ino:250: undefined reference to `Adafruit_ILI9341_8bit_AS::fillScreen(unsigned int)'
/Users/Tomek/Andy_Ada_graphicstest_with_Times.ino:251: undefined reference to `Adafruit_GFX_AS::width()'
/Users/Tomek/Andy_Ada_graphicstest_with_Times.ino:251: undefined reference to `Adafruit_GFX_AS::height()'
/Users/Tomek/Andy_Ada_graphicstest_with_Times.ino:251: undefined reference to `Adafruit_GFX_AS::width()'
/Users/Tomek/Andy_Ada_graphicstest_with_Times.ino:251: undefined reference to `Adafruit_GFX_AS::height()'
/Users/Tomek/Andy_Ada_graphicstest_with_Times.ino:255: undefined reference to `Adafruit_ILI9341_8bit_AS::fillRect(int, int, int, int, unsigned int)'
Andy_Ada_graphicstest_with_Times.cpp.o: In function `setup':
/Users/Tomek/Andy_Ada_graphicstest_with_Times.ino:51: undefined reference to `Adafruit_ILI9341_8bit_AS::begin(unsigned int)'
collect2: error: ld returned 1 exit status
Błąd kompilacji.