Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #pragma once
- // number of digits on 7-segment display
- #define DIGITS 6
- // pins unsed for SPI communication
- #define CLK D2 // D2 auf NodeMCU
- #define DIO D1 // D1 auf NodeMCU
- // brightness setting (1-10)
- #define BRIGHTNESS 2
- // update rate in milliseconds
- #define UPDATA_RATE_MS 60000
- // WLAN credentials
- const char* ssid = "xxxxx";
- const char* password = "xxxxxxxx";
- // URL used for block time retrieval. it is assumed it delivers a plain number
- const char* apiUrl = "https://blockstream.info/api/blocks/tip/height";
Advertisement
Add Comment
Please, Sign In to add comment