Permalink
Browse files

Merge pull request #24 from JPRuskin/UpdateGxEPD

Update Examples to work with GxEPD 3.0+
  • Loading branch information...
sqfmi committed Oct 19, 2018
2 parents aaf70ad + 98af3cb commit b96ad2368f4ea8236e0562e4aa02cc7d80598a74
@@ -17,7 +17,7 @@ By default your Badgy displays the welcome message when powered on. To upload ne
3. The screen should now update letting you know to connect to the "Badgy AP" network. You can now let go of the center button
4. Using your mobile phone, connect to the "Badgy AP" WiFi network
5. Follow the captive portal instructions to select your desired WiFi connection
6. Once connected, Badgy is ready to recieve new firmware! Go to http://*YOUR_IP_ADDRESS*:8888/update to upload your new firmware
6. Once connected, Badgy is ready to receive new firmware! Go to http://*YOUR_IP_ADDRESS*:8888/update to upload your new firmware
7. WiFi credentials are automatically saved onboard, your Badgy will automatically connect to your selected network the next time you perform an update
Check out the examples folders for various Arduino code samples, we're constantly adding more!
@@ -3,9 +3,11 @@
- Add ESP8266 Arduino Core using the Boards Manager https://github.com/esp8266/Arduino#installing-with-boards-manager
- Install the following libraries for the various examples
- Adafruit GFX library https://github.com/adafruit/Adafruit-GFX-Library
- GxEPD v2.x library [https://github.com/ZinggJM/GxEPD](https://github.com/ZinggJM/GxEPD/tree/20eff1d80f7276a3c093183c3823cdd5f6cf1c9d)
- GxEPD v3.x library https://github.com/ZinggJM/GxEPD
- ArduinoJSON v5.x library https://github.com/bblanchon/ArduinoJson
- WiFi Manager library https://github.com/tzapu/WiFiManager
- Time v1.5 https://github.com/michaelmargolis/arduino_time
- WebSockets https://github.com/Links2004/arduinoWebSockets
- When compiling the sketch in the Arduino IDE, choose **Tools** > **Board** > **NodeMCU 1.0 (ESP-12E Module)**
## Uploading Your Own Firmware
@@ -1,8 +1,8 @@
/* e-paper display lib */
#include <GxEPD.h>
#include <GxGDEH029A1/GxGDEH029A1.cpp>
#include <GxIO/GxIO_SPI/GxIO_SPI.cpp>
#include <GxIO/GxIO.cpp>
#include <GxGDEH029A1/GxGDEH029A1.h>
#include <GxIO/GxIO_SPI/GxIO_SPI.h>
#include <GxIO/GxIO.h>
/* include any other fonts you want to use https://github.com/adafruit/Adafruit-GFX-Library */
#include <Fonts/FreeMonoBold9pt7b.h>
#include <Fonts/FreeSansBoldOblique24pt7b.h>
@@ -1,8 +1,8 @@
/* e-paper display lib */
#include <GxEPD.h>
#include <GxGDEH029A1/GxGDEH029A1.cpp>
#include <GxIO/GxIO_SPI/GxIO_SPI.cpp>
#include <GxIO/GxIO.cpp>
#include <GxGDEH029A1/GxGDEH029A1.h>
#include <GxIO/GxIO_SPI/GxIO_SPI.h>
#include <GxIO/GxIO.h>
/* include any other fonts you want to use https://github.com/adafruit/Adafruit-GFX-Library */
#include <Fonts/FreeMonoBold9pt7b.h>
/* WiFi libs*/
@@ -1,8 +1,8 @@
/* e-paper display lib */
#include <GxEPD.h>
#include <GxGDEH029A1/GxGDEH029A1.cpp>
#include <GxIO/GxIO_SPI/GxIO_SPI.cpp>
#include <GxIO/GxIO.cpp>
#include <GxGDEH029A1/GxGDEH029A1.h>
#include <GxIO/GxIO_SPI/GxIO_SPI.h>
#include <GxIO/GxIO.h>
/* include any other fonts you want to use https://github.com/adafruit/Adafruit-GFX-Library */
#include <Fonts/FreeMonoBold9pt7b.h>
#include <Fonts/FreeMonoBold12pt7b.h>
@@ -1,8 +1,8 @@
/* e-paper display lib */
#include <GxEPD.h>
#include <GxGDEH029A1/GxGDEH029A1.cpp>
#include <GxIO/GxIO_SPI/GxIO_SPI.cpp>
#include <GxIO/GxIO.cpp>
#include <GxGDEH029A1/GxGDEH029A1.h>
#include <GxIO/GxIO_SPI/GxIO_SPI.h>
#include <GxIO/GxIO.h>
/* include any other fonts you want to use https://github.com/adafruit/Adafruit-GFX-Library */
#include <Fonts/FreeMonoBold9pt7b.h>
#include <Fonts/FreeMonoBold18pt7b.h>
@@ -1,8 +1,8 @@
/* e-paper display lib */
#include <GxEPD.h>
#include <GxGDEH029A1/GxGDEH029A1.cpp>
#include <GxIO/GxIO_SPI/GxIO_SPI.cpp>
#include <GxIO/GxIO.cpp>
#include <GxGDEH029A1/GxGDEH029A1.h>
#include <GxIO/GxIO_SPI/GxIO_SPI.h>
#include <GxIO/GxIO.h>
/* include any other fonts you want to use https://github.com/adafruit/Adafruit-GFX-Library */
#include <Fonts/FreeMonoBold9pt7b.h>
/* WiFi libs*/

0 comments on commit b96ad23

Please sign in to comment.