Pages: [1]   Go Down
Author Topic: Problems compiling (undefined lcd_rect) Touchshield Slide example sketches  (Read 428 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Karma: 0
Posts: 7
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

It looks like there was a revamp of the graphics engine used by the Touchshield Stealth/Slide at one point and the code to support backwards compatibility is missing for function lcd_rect().

Navigate to the Antipasto IDE directory:  C:\Antipasto\hardware\arduino\cores\touchshield\src\components\board.
Open SubPGraphics.cpp with your favorite editor and add the following code just below the lcd_rectangle() function.

void   lcd_rect(LCD_RECT rect, COLOR outline_color, COLOR fill_color)

   bcolor      =   fill_color;
   fcolor      =   outline_color;
   gFillEnb   =   true;
   drawrect(rect.left,, (rect.right - rect.left), (rect.bottom -;

Pages: [1]   Go Up
Jump to: