Files
OpenEPaperLink/esp32_fw/include/settings.h
Nic Limper 45c4867444 Weather displays
- added weather content
- adapted all content to work with 1.54" displays
2023-02-04 01:43:10 +01:00

53 lines
1.1 KiB
C

#include <Arduino.h>
//#define NETWORK_MODE // comment me in to enable network-mode. I'm ready to go in, coach, just give me a chance!
#ifndef NETWORK_MODE
#define STANDALONE_MODE
#endif
#ifdef NETWORK_MODE
#define WEBSERVER_PATH "http://your-webserver/esl/"
#define CHECK_IN_URL "http://your-webserver/esl/check-in.php"
#endif
#ifdef STANDALONE_MODE
#define CHECK_IN_DELAY 900000
#define RETRY_DELAY 1000
#define FAILED_TILL_BLANK 2
#define FAILED_TILL_REASSOCIATE 1
#endif
// how long the we should keep the transfer metadata
#define PENDING_TIMEOUT 300
// this determines how long images will be cached;
#define PENDING_DATA_TIMEOUT 60
#define SOLUM_154_033 0
#define SOLUM_29_033 1
#define SOLUM_42_033 2
// flasher options
#define CUSTOM_MAC_HDR 0x0000
//#define RXD1 16
//#define TXD1 17
// connections to the tag
//#define RXD1 16 //was 16 - 13
//#define TXD1 17 // was 17 - 12
#define RXD1 13 // 1st
#define TXD1 12 // 2nd
#define ZBS_SS 21
#define ZBS_CLK 18
#define ZBS_MoSi 22
#define ZBS_MiSo 19
#define ZBS_Reset 5
#define ZBS_POWER1 15
#define ZBS_POWER2 2
#define MAX_WRITE_ATTEMPTS 5