Skip to content

Commit

Permalink
Merge branch 'master' into platformio_support
Browse files Browse the repository at this point in the history
  • Loading branch information
skiphansen committed Dec 4, 2021
2 parents 1897dce + 93579c3 commit 4ef8453
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ After inclusion, Go to File, Examples and scroll down to 'ESP32-e-paperWeather-d

Also see: https://www.arduino.cc/en/Guide/Libraries#toc4

- [Mini Grafx](https://github.com/ThingPulse/minigrafx) by Daniel Eichhorn
- [Arduino JSON](https://github.com/bblanchon/ArduinoJson) (v6 or above) by Benoît Blanchon

Download the software to your Arduino's library directory.
Expand All @@ -20,19 +19,22 @@ Download the software to your Arduino's library directory.
- Waveshare_2_7
- Waveshare_2_9
- Waveshare_4_2
- Waveshare_7_5
(instead of Mini Grafx requires [GxEPD2 library](https://github.com/ZinggJM/GxEPD2), which needs [Adafruit_GFX](https://github.com/adafruit/Adafruit-GFX-Library), additionally requires U8g2_for_Adafruit_GFX)
- Waveshare_7_5_T7 (the newer 800x480 version; above is 640x384)
- Waveshare_7_5
- Waveshare_7_5_T7 (newer 800x480 version of the older 640x384)

Code requires [GxEPD2 library](https://github.com/ZinggJM/GxEPD2)
- which needs [Adafruit_GFX](https://github.com/adafruit/Adafruit-GFX-Library
- an also requires U8g2_for_Adafruit_GFX

2. Obtain your [OWM API key](https://openweathermap.org/appid) - it's free

3. Edit the owm_credentials.h file in the IDE (TAB at top of IDE) and change your Language, Country, choose your units Metric or Imperial and be sure to find a valid weather station location on OpenWeatherMap, if your display has all blank values your location does not exist!

4. If your are using the older style Waveshare HAT then you need to use:

**display.init();**//for older Waveshare HAT's
**display.init(); //for older Waveshare HAT's

In the InitialiseDisplay() function, comment out as required
In the InitialiseDisplay() function, comment out the variant as required

5. Save your files.

Expand Down Expand Up @@ -70,7 +72,7 @@ Compile and upload the code - Enjoy!

Ensure you have the latest GxEPD2 library

See here: https://github.com/ZinggJM/GxEPD2/releases/tag/1.2.10
See here: https://github.com/ZinggJM/GxEPD2/releases/

Modify this line in the code:

Expand Down

0 comments on commit 4ef8453

Please sign in to comment.