mirror of
https://github.com/timmbogner/Farm-Data-Relay-System
synced 2024-11-10 07:10:42 +00:00
make filename configurable
This commit is contained in:
parent
78478b977c
commit
4bf0653cdb
@ -18,6 +18,7 @@
|
|||||||
|
|
||||||
//#define USE_LORA
|
//#define USE_LORA
|
||||||
//#define USE_WIFI //Used only for MQTT gateway
|
//#define USE_WIFI //Used only for MQTT gateway
|
||||||
|
//#define USE_SD_LOG //Used only for SD-card logging
|
||||||
|
|
||||||
// Peer addresses
|
// Peer addresses
|
||||||
#define ESPNOW1_PEER 0x0E // ESPNOW1 Address
|
#define ESPNOW1_PEER 0x0E // ESPNOW1 Address
|
||||||
@ -80,6 +81,6 @@
|
|||||||
#define TOPIC_COMMAND "fdrs/command"
|
#define TOPIC_COMMAND "fdrs/command"
|
||||||
|
|
||||||
|
|
||||||
// SD card logging
|
// SD card logging config -- Needed only for SD-card logging
|
||||||
#define ENABLE_SD_LOG
|
#define SD_SS 0 //SD card Chipselect pin (Use a different pins for LoRa and SD)
|
||||||
#define SD_CS 4
|
#define SD_FILENAME "fdrs_log.txt"
|
Loading…
Reference in New Issue
Block a user