Offline
Newbie
Karma: 0
Posts: 30
|
 |
« on: November 15, 2012, 12:00:20 pm » |
Heys guys;
Here is my code:
#include <Flash.h> #include <UTFT.h>
UTFT tft(ITDB32S, 38, 39, 40, 41);
FLASH_TABLE(int, fTable, 4, {0,0,10,100}, {0, 40, 40, 150});
void setup() { DrawMyRect(); } void loop() {
}
void DrawMyRect() { tft.drawRect(fTable[0][0], fTable[0][1], fTable[0][2], fTable[0][3]); // DOES NOT DISPLAY tft.drawRect(0, 0, 10, 100); // WORKS }
If I try a Serial.println(fTable[0][0], fTable[0][1], fTable[0][2], fTable[0][3]); The serial monitor display's the correct information, any ideas would be appreciated
|