Hi,
today post delivered me new WD - wifi... I have downloaded SW, but still have problem with compile...
.......Documents\Arduino\WeatherDuino_4PESP8266_WD_v4.1_b004\WeatherDuino_4PESP8266_WD_v4.1_b004.ino:45:30: fatal error: ESP8266WebServer.h: No such file or directory
#include <ESP8266WebServer.h>
^
compilation terminated.
exit status 1
and the same problem with OTA... Webserver and OTA library are in the library folder as other libraries... IDE is 1.8.5
Any idea whyyyyy??
(22-08-2018, 11:32)ok2arm Wrote: [ -> ]Hi,
today post delivered me new WD - wifi... I have downloaded SW, but still have problem with compile...
.......Documents\Arduino\WeatherDuino_4PESP8266_WD_v4.1_b004\WeatherDuino_4PESP8266_WD_v4.1_b004.ino:45:30: fatal error: ESP8266WebServer.h: No such file or directory
#include <ESP8266WebServer.h>
^
compilation terminated.
exit status 1
and the same problem with OTA... Webserver and OTA library are in the library folder as other libraries... IDE is 1.8.5
Any idea whyyyyy??
Hello ok2arm,
Something is wrong ... The only libraries, you need, are (by my opinion) in the package with software:
[
attachment=1576]
Did you correctly choose the type of processor?
http://wiki.weatherduino.com/wireless_display_units
(22-08-2018, 13:01)hornychz Wrote: [ -> ] (22-08-2018, 11:32)ok2arm Wrote: [ -> ]Hi,
today post delivered me new WD - wifi... I have downloaded SW, but still have problem with compile...
.......Documents\Arduino\WeatherDuino_4PESP8266_WD_v4.1_b004\WeatherDuino_4PESP8266_WD_v4.1_b004.ino:45:30: fatal error: ESP8266WebServer.h: No such file or directory
#include <ESP8266WebServer.h>
^
compilation terminated.
exit status 1
and the same problem with OTA... Webserver and OTA library are in the library folder as other libraries... IDE is 1.8.5
Any idea whyyyyy??
Hello ok2arm,
Something is wrong ... The only libraries, you need, are (by my opinion) in the package with software:
Did you correctly choose the type of processor?
http://wiki.weatherduino.com/wireless_display_units
Hi Zdenek,
yes, all is set ok, procesor type LOLIN D1 R2 and mini, I have also library as is see in your pic...
And also have problem with RX compile..
\Arduino\WeatherDuino_Pro2_PLUS\software\RX software\WeatherDuino_P2AT2560_RX_v7.0_b003\WeatherDuino_P2AT2560_RX_v7.0_b003.ino: In function 'void setup()':
WeatherDuino_P2AT2560_RX_v7.0_b003:576: error: 'class XPT2046_Touchscreen' has no member named 'setRotation'
ts.setRotation(TOUCH_TYPE);
^
(22-08-2018, 16:56)ok2arm Wrote: [ -> ]Hi Zdenek,
yes, all is set ok, procesor type LOLIN D1 R2 and mini, I have also library as is see in your pic...
And also have problem with RX compile..
Hi,
It should be
WeMos D1 R2 & mini not LOLIN
(22-08-2018, 16:56)ok2arm Wrote: [ -> ]\Arduino\WeatherDuino_Pro2_PLUS\software\RX software\WeatherDuino_P2AT2560_RX_v7.0_b003\WeatherDuino_P2AT2560_RX_v7.0_b003.ino: In function 'void setup()':
WeatherDuino_P2AT2560_RX_v7.0_b003:576: error: 'class XPT2046_Touchscreen' has no member named 'setRotation'
ts.setRotation(TOUCH_TYPE);
^
Can you please post you Config_Options.h file?
(22-08-2018, 17:11)Werk_AG Wrote: [ -> ] (22-08-2018, 16:56)ok2arm Wrote: [ -> ]Hi Zdenek,
yes, all is set ok, procesor type LOLIN D1 R2 and mini, I have also library as is see in your pic...
And also have problem with RX compile..
Hi,
It should be WeMos D1 R2 & mini not LOLIN
(22-08-2018, 16:56)ok2arm Wrote: [ -> ]\Arduino\WeatherDuino_Pro2_PLUS\software\RX software\WeatherDuino_P2AT2560_RX_v7.0_b003\WeatherDuino_P2AT2560_RX_v7.0_b003.ino: In function 'void setup()':
WeatherDuino_P2AT2560_RX_v7.0_b003:576: error: 'class XPT2046_Touchscreen' has no member named 'setRotation'
ts.setRotation(TOUCH_TYPE);
^
Can you please post you Config_Options.h file?
Hi, is the same line in setup... LOLIN(WEMOS) D1 R2 and mini...
Here is...
https://we.tl/t-EcoT8j8pfi
Is not final setup.. But now I need solve this problem...
Tnx !
(22-08-2018, 16:56)ok2arm Wrote: [ -> ]\Arduino\WeatherDuino_Pro2_PLUS\software\RX software\WeatherDuino_P2AT2560_RX_v7.0_b003\WeatherDuino_P2AT2560_RX_v7.0_b003.ino: In function 'void setup()':
WeatherDuino_P2AT2560_RX_v7.0_b003:576: error: 'class XPT2046_Touchscreen' has no member named 'setRotation'
ts.setRotation(TOUCH_TYPE);
^
(22-08-2018, 17:22)ok2arm Wrote: [ -> ]Here is... https://we.tl/t-EcoT8j8pfi
Is not final setup.. But now I need solve this problem...
Tnx !
Hi,
I checked it, and the WeatherDuino Pro2 PLUS RX_v7.0_b003 compiles fine with your Config_Options.
Please verify if you are using the XPT2046_Touchscreen library included in the software package and not any other version.
Quote:Hi, is the same line in setup... LOLIN(WEMOS) D1 R2 and mini...
I'm using ESP8266 Arduino core v2.4.1 maybe something have changed in 2.4.2
On boards manager, try to revert to v2.4.1
(22-08-2018, 20:38)Werk_AG Wrote: [ -> ] (22-08-2018, 16:56)ok2arm Wrote: [ -> ]\Arduino\WeatherDuino_Pro2_PLUS\software\RX software\WeatherDuino_P2AT2560_RX_v7.0_b003\WeatherDuino_P2AT2560_RX_v7.0_b003.ino: In function 'void setup()':
WeatherDuino_P2AT2560_RX_v7.0_b003:576: error: 'class XPT2046_Touchscreen' has no member named 'setRotation'
ts.setRotation(TOUCH_TYPE);
^
(22-08-2018, 17:22)ok2arm Wrote: [ -> ]Here is... https://we.tl/t-EcoT8j8pfi
Is not final setup.. But now I need solve this problem...
Tnx !
Hi,
I checked it, and the WeatherDuino Pro2 PLUS RX_v7.0_b003 compiles fine with your Config_Options.
Please verify if you are using the XPT2046_Touchscreen library included in the software package and not any other version.
Quote:Hi, is the same line in setup... LOLIN(WEMOS) D1 R2 and mini...
I'm using ESP8266 Arduino core v2.4.1 maybe something have changed in 2.4.2
On boards manager, try to revert to v2.4.1
Hi everyone... Well, now compiling working... Problem is in last version IDE and also other version XPT... :/
But I dont know, after load last SW for RX unit, not working touch function... PCB version is set ok.. Any idea?
Tnx
(23-08-2018, 11:03)ok2arm Wrote: [ -> ]Hi everyone... Well, now compiling working... Problem is in last version IDE and also other version XPT... :/
But I dont know, after load last SW for RX unit, not working touch function... PCB version is set ok.. Any idea?
Tnx
Hi ok2arm,
Do you have the correct settings of the TFT panel version? It is in Config_Options.h file, raws 378-381:
Code:
// --------------------------------------------------------------------------------------
// Define Type of your Touch Panel (Applies only to PCB Versions >= 20)
// --------------------------------------------------------------------------------------
#define TOUCH_TYPE 3 // 3= Default Setting, 1= Setting for displays with the "Yellow Pins"
Verify the settings in the previous configuration file if it has worked correctly before.
(23-08-2018, 20:12)hornychz Wrote: [ -> ] (23-08-2018, 11:03)ok2arm Wrote: [ -> ]Hi everyone... Well, now compiling working... Problem is in last version IDE and also other version XPT... :/
But I dont know, after load last SW for RX unit, not working touch function... PCB version is set ok.. Any idea?
Tnx
Hi ok2arm,
Do you have the correct settings of the TFT panel version? It is in Config_Options.h file, raws 378-381:
Code:
// --------------------------------------------------------------------------------------
// Define Type of your Touch Panel (Applies only to PCB Versions >= 20)
// --------------------------------------------------------------------------------------
#define TOUCH_TYPE 3 // 3= Default Setting, 1= Setting for displays with the "Yellow Pins"
Verify the settings in the previous configuration file if it has worked correctly before.
Hi Zdenek,
yes, this setting is corectly.. Maybee is problem with version PCB, now I have working 1.4...
Tnx
Hi,
I think your RX PCB is version 2.x. If it is green then it is v2.x
Try change the type of the touch panel to 1.
Quote:// --------------------------------------------------------------------------------------
// Define Type of your Touch Panel (Applies only to PCB Versions >= 20)
// --------------------------------------------------------------------------------------
#define TOUCH_TYPE 1 // 3= Default Setting, 1= Setting for displays with the "Yellow Pins"