Bring back config.h

This commit is contained in:
Djuri Baars 2023-08-15 13:45:42 +02:00
parent e68c2816c6
commit fdd32456bc
2 changed files with 24 additions and 1 deletions

1
.gitignore vendored
View File

@ -6,6 +6,5 @@
data/build
data/.yarn
data/node_modules
src/config.h
.vscode/c_cpp_properties.json
node_modules

24
src/config.h Normal file
View File

@ -0,0 +1,24 @@
#pragma once
#define NTP_SERVER "nl.pool.ntp.org"
#define FONT_SMALL Antonio_SemiBold20pt7b
#define FONT_BIG Antonio_SemiBold90pt7b
#define TIME_OFFSET_SECONDS 3600
#define OTA_PASSWORD "changeme"
#ifndef HOSTNAME
#define HOSTNAME "btclock"
#endif
#define BITCOIND_HOST ""
#define BITCOIND_PORT 8332
#define BITCOIND_RPC_USER ""
#define BITCOIND_RPC_PASS ""
#define DEFAULT_FG_COLOR GxEPD_WHITE
#define DEFAULT_BG_COLOR GxEPD_BLACK
#define I2C_DEV_ADDR 0x55