GPN Badge (Gulasch Push Notifications)
HowTo SetUp arduino:
- Install the newest arduino Version (tested with 1.8.2) from the Arduino website.
- Start Arduino and open Preferences window.
- Enter
https://rawgit.com/entropia/gpn17-badge/master/arduino/package_gpnbadge_index.json
into Additional Board Manager URLs field. You can add multiple URLs, separating them with commas. - Open Boards Manager from Tools > Board menu and install gpnbadge platform (and don't forget to select the GPN Badge board from Tools > Board menu after installation).
To use multirom ability, please add
#include "rboot.h"
to each of your sketches. This replaces the cache function in the libmain.a
Please note: For the moment, rboot is configured as following:
- 4 ROMs / 1MB each
- default boot ROM: 1
- GPIO boot ROM: 0 (usually the ROM select app)
The GPIO boot is initialised by pulling GPIO16 high at POR. This is the same as pressing the center joystick of the GPN Badge at poweron. Other ROMs can be selected by using the rboot config library.
The patched arduino-esp8266 contains all tools for creating the usual eboot arduino roms, as well as rboot roms. For this, in addition to esptool also Richard Burtons esptool2 ist downloaded and installed.
Have fun!
Look for the "Sensors"-example.
Teilnehmerbadge mit vielen Funktionen für die GPN 17.
https://github.com/entropia/Adafruit-GFX-Library
https://github.com/antonxy/TFT_ILI9163C
By default this lib allocates a framebuffer.
If your rom is unstable because of little ram you can disable the framebuffer by commenting out #define FRAMEBUFFER
in the TFT_ILI9163C.h
file.
This should especially be done for the default rom.
https://github.com/entropia/gpn17-badge-arduinolib
https://github.com/entropia/gpn17-badge-ui
https://github.com/markszabo/IRremoteESP8266
https://github.com/adafruit/Adafruit_NeoPixel
https://github.com/entropia/gpn17-badge-notification-server