27-01-2017, 01:20
Hi Werk,
I went to reflash one of my older wireless displays. It has a 2.8" TFT screen, mounted in behind a transparent LID (photos on my old build thread). The screen is not accessable for "touch" operation. I have a push button mounted on the top of the enclosure.
![[Image: attachment.php?aid=624]](http://www.meteocercal.info/forum/attachment.php?aid=624)
I was compiling with the following ver code:
Version: : WD PLUS 1.0-b005 (Requires Arduino IDE 1.7.7 or newer to compile)
Version Release date : 11/01/2017
Last revision date : 11/01/2017
In user options, I set the following:
// --- Define your Display type
#define DisplayType 1 // 1= TFT 320x240 ILI9341, 4= 20x4 LCD, 5= 16x2 LCD
// --- Define if your ILI9341 Display have touch capabilities - ATENTION! Requires WD board v2.20 or greater
#define Touch_Display 0 // 0= Display without touch panel, 1 = Display with touch panel
// --- Define Backlight timeOut
byte BackLight_Timeout = 0; // Timeout for TFT backlight in minutes (1 to 255). 0= Always ON
#define Board_Type 1 // 1= Wireless Display Boards >= 2.xx, 0= Others (Old RX converted boards)
When I compile I get the following error:
WeatherDuino_Pro2Plus_WD_v1.0_b005.ino: In function 'void setup()':
WeatherDuino_Pro2Plus_WD_v1.0_b005.ino:238:11: error: 'T_DIN' was not declared in this scope
WeatherDuino_Pro2Plus_WD_v1.0_b005.ino:239:11: error: 'T_IRQ' was not declared in this scope
Error compiling.
If I change screen Touch_Display to value "1=Display with touch panel", then I get NO errors and can load the nano ok without error. But then the push button on top of enclosure is not operational.
Would you be able to have a look at this one sometime, and give me some comment...
Thanks Werk...
Mark R
I went to reflash one of my older wireless displays. It has a 2.8" TFT screen, mounted in behind a transparent LID (photos on my old build thread). The screen is not accessable for "touch" operation. I have a push button mounted on the top of the enclosure.
I was compiling with the following ver code:
Version: : WD PLUS 1.0-b005 (Requires Arduino IDE 1.7.7 or newer to compile)
Version Release date : 11/01/2017
Last revision date : 11/01/2017
In user options, I set the following:
// --- Define your Display type
#define DisplayType 1 // 1= TFT 320x240 ILI9341, 4= 20x4 LCD, 5= 16x2 LCD
// --- Define if your ILI9341 Display have touch capabilities - ATENTION! Requires WD board v2.20 or greater
#define Touch_Display 0 // 0= Display without touch panel, 1 = Display with touch panel
// --- Define Backlight timeOut
byte BackLight_Timeout = 0; // Timeout for TFT backlight in minutes (1 to 255). 0= Always ON
#define Board_Type 1 // 1= Wireless Display Boards >= 2.xx, 0= Others (Old RX converted boards)
When I compile I get the following error:
WeatherDuino_Pro2Plus_WD_v1.0_b005.ino: In function 'void setup()':
WeatherDuino_Pro2Plus_WD_v1.0_b005.ino:238:11: error: 'T_DIN' was not declared in this scope
WeatherDuino_Pro2Plus_WD_v1.0_b005.ino:239:11: error: 'T_IRQ' was not declared in this scope
Error compiling.
If I change screen Touch_Display to value "1=Display with touch panel", then I get NO errors and can load the nano ok without error. But then the push button on top of enclosure is not operational.
Would you be able to have a look at this one sometime, and give me some comment...
Thanks Werk...
Mark R


