Guest User

Untitled

a guest
Jan 19th, 2025
25
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. #pragma once
  2.  
  3. // number of digits on 7-segment display
  4. #define DIGITS 6
  5.  
  6. // pins unsed for SPI communication
  7. #define CLK D2 // D2 auf NodeMCU
  8. #define DIO D1 // D1 auf NodeMCU
  9.  
  10. // brightness setting (1-10)
  11. #define BRIGHTNESS 2
  12.  
  13. // update rate in milliseconds
  14. #define UPDATA_RATE_MS 60000
  15.  
  16. // WLAN credentials
  17. const char* ssid = "xxxxx";
  18. const char* password = "xxxxxxxx";
  19.  
  20. // URL used for block time retrieval. it is assumed it delivers a plain number
  21. const char* apiUrl = "https://blockstream.info/api/blocks/tip/height";
  22.  
Advertisement
Add Comment
Please, Sign In to add comment