Go Down

Topic: UTouch QuickPaint error (Read 880 times) previous topic - next topic

malandro

Hi,
i have connected an arduino uno with a 2.8ITDB02 Shield an want to load  the "UTouch_QuickPaint" of Henning Karlsen. But when i am compiling i have got an error:

Can any body help me?
UTouch_QuickPaint:46: error: 'VGA_WHITE' was not declared in this scope
UTouch_QuickPaint:46: error: 'VGA_BLACK' was not declared in this scope
UTouch_QuickPaint:46: error: 'VGA_RED' was not declared in this scope
UTouch_QuickPaint:46: error: 'VGA_BLUE' was not declared in this scope
UTouch_QuickPaint:46: error: 'VGA_GREEN' was not declared in this scope
UTouch_QuickPaint:46: error: 'VGA_FUCHSIA' was not declared in this scope
UTouch_QuickPaint:46: error: 'VGA_YELLOW' was not declared in this scope
UTouch_QuickPaint:46: error: 'VGA_AQUA' was not declared in this scope
UTouch_QuickPaint.ino: In function 'void drawColorMarkerAndBrushSize(int)':
UTouch_QuickPaint:51: error: 'VGA_BLACK' was not declared in this scope
UTouch_QuickPaint:54: error: 'VGA_WHITE' was not declared in this scope
UTouch_QuickPaint:62: error: no matching function for call to 'UTFT::setColor(word&)'
C:\Program Files (x86)\Arduino\libraries\UTouch/UTFT.h:138: note: candidates are: void UTFT::setColor(byte, byte, byte)
UTouch_QuickPaint:68: error: no matching function for call to 'UTFT::setColor(word&)'
C:\Program Files (x86)\Arduino\libraries\UTouch/UTFT.h:138: note: candidates are: void UTFT::setColor(byte, byte, byte)
UTouch_QuickPaint.ino: In function 'void setup()':
UTouch_QuickPaint:80: error: 'VGA_WHITE' was not declared in this scope
UTouch_QuickPaint:96: error: no matching function for call to 'UTFT::setColor(word&)'
C:\Program Files (x86)\Arduino\libraries\UTouch/UTFT.h:138: note: candidates are: void UTFT::setColor(byte, byte, byte)
UTouch_QuickPaint.ino: In function 'void loop()':
UTouch_QuickPaint:136: error: 'VGA_BLACK' was not declared in this scope
UTouch_QuickPaint:138: error: no matching function for call to 'UTFT::setColor(word&)'


thanks a lot



johnwasser

http://www.henningkarlsen.com/electronics/library.php?id=56

"This library is primarily an add-on to my UTFT library for TFT display modules.

"As stated earlier, this library is primarily an add-on to UTFT, but the library in it self does not require UTFT. The supplied examples DO however require the UTFT library.

Are you trying to run one of the supplied examples?  Do you have his other library installed?
Send Bitcoin tips to: 1G2qoGwMRXx8az71DVP1E81jShxtbSh5Hp

malandro

Dear John,

I am terrible sorry for my late answer. I was on  hollidays ;-)
Thanks a lot for your answer. No i didnt installed the another library but  I will do it now. Yes I am trying to start one of the examples to control the ITDB02 shield touschscreen display. After that i want a read data from a sirf iii GPS sensor.
As I understand you,  I have to install the another library to right?

reggards   

Go Up