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

Cannot be complied #7

Open
Janaboy opened this issue Jan 10, 2022 · 7 comments
Open

Cannot be complied #7

Janaboy opened this issue Jan 10, 2022 · 7 comments

Comments

@Janaboy
Copy link

Janaboy commented Jan 10, 2022

Dear @Bastelschlumpf , is there any chance to fix the code?
Unfortunately it cannot be compiled, there are multiple issues.

Thank you in advance.

@tomschlde
Copy link

tomschlde commented Mar 9, 2022

Hi, compiles without errors - there is no need to fix the code.

it is important to add all libraries mentioned in the code (see below) to the Arduino SDK. Then it will work!
see: https://docs.arduino.cc/software/ide-v1/tutorials/installing-libraries

#include <M5EPD.h>
#include "Config.h"
#include "ConfigOverride.h" // Remove this line
#include "Data.h"
#include "Display.h"
#include "Battery.h"
#include "EPD.h"
#include "EPDWifi.h"
#include "Moon.h"
#include "SHT30.h"
#include "Time.h"
#include "Utils.h"
#include "Weather.h"

IMG_20220309_101436 (002)

@Janaboy
Copy link
Author

Janaboy commented Mar 9, 2022

> Hi, compiles without errors - there is no need to fix the code.

it is important to add all libraries mentioned in the code (see below) to the Arduino SDK. Then it will work! see: https://docs.arduino.cc/software/ide-v1/tutorials/installing-libraries

#include <M5EPD.h> #include "Config.h" #include "ConfigOverride.h" // Remove this line #include "Data.h" #include "Display.h" #include "Battery.h" #include "EPD.h" #include "EPDWifi.h" #include "Moon.h" #include "SHT30.h" #include "Time.h" #include "Utils.h" #include "Weather.h"

Okay an update here.
I just installed the m5edp 1.0.3 library and was able to finally compile.

@stevejoung
Copy link

The code fails with the comment "MyData not declared in this scope"

@bluejazzCHN
Copy link

Please notice:
using Arduinojson ver 6.12.0 to compile

@orion14794
Copy link

Hi, compiles without errors - there is no need to fix the code.

it is important to add all libraries mentioned in the code (see below) to the Arduino SDK. Then it will work! see: https://docs.arduino.cc/software/ide-v1/tutorials/installing-libraries
#include <M5EPD.h> #include "Config.h" #include "ConfigOverride.h" // Remove this line #include "Data.h" #include "Display.h" #include "Battery.h" #include "EPD.h" #include "EPDWifi.h" #include "Moon.h" #include "SHT30.h" #include "Time.h" #include "Utils.h" #include "Weather.h"

Okay an update here. I just installed the m5edp 1.0.3 library and was able to finally compile.

There is no 1.03 M5EPD library file. File versions go up to .01.5 Where did you get your version from???

@meldraknailo
Copy link

meldraknailo commented Dec 29, 2023

Fantastic Project!!!!!!!! I was able to get it to work with ArduinoJson 6.12.0 and M5EPD 0.1.5. I was able to get everything to work with USA formatting. I changed the date to MM:DD:YYYY, the units for the daily to show F by returning imperial units from openweather and by changing the display to show (F) instead of (C). There is only one thing I need help with: changing the SHT-30 data to show up as F. I know the conversion formula, but where do I put it? The temp graph displayed fine but appeared to show no data, until I realized I needed to change the scale of the temperature graph from 0-100 for Fahrenehit. So I now see mph, F, and MM:DD:YYYY. Thanks so much! If you want to fork off a US measurement branch let me know and I can share the modded files with you, or create a new repository with your permission that credits your work.

@GIGObug
Copy link

GIGObug commented Jun 10, 2024

Yes please?

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

7 participants