Skip to content

Screen Issues #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
BehMaTop opened this issue Oct 4, 2017 · 1 comment
Open

Screen Issues #1

BehMaTop opened this issue Oct 4, 2017 · 1 comment

Comments

@BehMaTop
Copy link

BehMaTop commented Oct 4, 2017

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
Copy link
Member

j54n1n commented Oct 4, 2017

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

j54n1n added a commit that referenced this issue Oct 11, 2017
Possible fix for #1 uninitalized pixels on screen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants