Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Waveshare 4.2 sketch compilation error #269

Open
Haranochi opened this issue Nov 6, 2024 · 2 comments
Open

Waveshare 4.2 sketch compilation error #269

Haranochi opened this issue Nov 6, 2024 · 2 comments

Comments

@Haranochi
Copy link

Hi,

I got this error during compilation, sketch line 208:

'TXT_FORECAST_VALUES' was not declared in this scope. Any help on where I should investigate.

My conditions:
OS: Linux MX-23
Arduino IDE 1.8.19
ESP32 3.0.7
ArduinoJson 7.2.0
U8g2_for_Adafruit_GFX 1.8.0
GxEPD2 library 1.6.0
Adafruit-GFX-Library 1.11.11
Waveshare 4.2

Best Regards

José Maria

@G6EJD
Copy link
Owner

G6EJD commented Nov 6, 2024

Have you I stalled the supporting library and especially the lang.h file?

@Haranochi
Copy link
Author

Hi,
Thanks for your suggestion, I have checked the lang.h file, this file is not the one in your "src" folder, when I copied yours to the sketch folder it worked. Thanks for your quick reply. Now I have a nice and attractive weather station.

Feedback from Arduino IDE:
Sketch uses 1152797 bytes (87%) of program storage space. Maximum is 1310720 bytes.
Global variables use 70144 bytes (21%) of dynamic memory, leaving 257536 bytes for local variables. Maximum is 327680 bytes.
Thanks.
Best Regards.
José Maria

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants