rainerum-robotics-arduino / LcdScreen

LCD Screen Library for Arduino Robot and Arduino Esplora
https://store.arduino.cc/arduino-lcd-screen
MIT License
0 stars 0 forks source link

Screen Issues #1

Open BehMaTop opened 7 years ago

BehMaTop commented 7 years ago

In file included from /Users/stevan6087/Documents/Arduino/LibrerieLezione/LibrerieLezione.ino:1:0: /Users/stevan6087/Documents/Arduino/libraries/LcdScreen-master/src/LcdScreen.h:72:3: warning: #warning "The SD library was not found. loadImage() image() and drawBMP() won't be supported." [-Wcpp]

warning "The SD library was not found. loadImage() image() and drawBMP() won't be supported."

^ In file included from /Users/stevan6087/Documents/Arduino/libraries/LcdScreen-master/src/LcdScreen.h:36:0, from /Users/stevan6087/Documents/Arduino/LibrerieLezione/LibrerieLezione.ino:1: /Users/stevan6087/Documents/Arduino/libraries/Adafruit_GFX_Library/Adafruit_GFX.h:67:67: warning: 'progmem' attribute ignored [-Wattributes] drawBitmap(int16_t x, int16_t y, PROGMEM const uint8_t bitmap[], ^ /Users/stevan6087/Documents/Arduino/libraries/Adafruit_GFX_Library/Adafruit_GFX.h:69:67: warning: 'progmem' attribute ignored [-Wattributes] drawBitmap(int16_t x, int16_t y, PROGMEM const uint8_t bitmap[], ^ /Users/stevan6087/Documents/Arduino/libraries/Adafruit_GFX_Library/Adafruit_GFX.h:75:68: warning: 'progmem' attribute ignored [-Wattributes] drawXBitmap(int16_t x, int16_t y, PROGMEM const uint8_t bitmap[], ^ /Users/stevan6087/Documents/Arduino/libraries/Adafruit_GFX_Library/Adafruit_GFX.h:77:76: warning: 'progmem' attribute ignored [-Wattributes] drawGrayscaleBitmap(int16_t x, int16_t y, PROGMEM const uint8_t bitmap[], ^ /Users/stevan6087/Documents/Arduino/libraries/Adafruit_GFX_Library/Adafruit_GFX.h:82:36: warning: 'progmem' attribute ignored [-Wattributes] PROGMEM const uint8_t bitmap[], PROGMEM const uint8_t mask[], ^ /Users/stevan6087/Documents/Arduino/libraries/Adafruit_GFX_Library/Adafruit_GFX.h:82:66: warning: 'progmem' attribute ignored [-Wattributes] PROGMEM const uint8_t bitmap[], PROGMEM const uint8_t mask[], ^ /Users/stevan6087/Documents/Arduino/libraries/Adafruit_GFX_Library/Adafruit_GFX.h:86:71: warning: 'progmem' attribute ignored [-Wattributes] drawRGBBitmap(int16_t x, int16_t y, PROGMEM const uint16_t bitmap[], ^ /Users/stevan6087/Documents/Arduino/libraries/Adafruit_GFX_Library/Adafruit_GFX.h:91:37: warning: 'progmem' attribute ignored [-Wattributes] PROGMEM const uint16_t bitmap[], PROGMEM const uint8_t mask[], ^ /Users/stevan6087/Documents/Arduino/libraries/Adafruit_GFX_Library/Adafruit_GFX.h:91:67: warning: 'progmem' attribute ignored [-Wattributes] PROGMEM const uint16_t bitmap[], PROGMEM const uint8_t mask[], ^ Lo sketch usa 10932 byte (38%) dello spazio disponibile per i programmi. Il massimo è 28672 byte. Le variabili globali usano 266 byte (10%) di memoria dinamica, lasciando altri 2294 byte liberi per le variabili locali. Il massimo è 2560 byte.

j54n1n commented 7 years ago

I tried now a similar sketch as we had in the lab with EsploraTFT.begin() and EsploraTFT.println(). The updated code seems to fix the random pixel display problem.

For the progmem warnings I am guessing that you are using older version of Arduino. Mine is Arduino 1.8.3 and it does not show these warnings. Can you look at version that you are using on the Arduino titlebar and report it here?

Cheers Julian