mqtt client (experimental)

This commit is contained in:
Klaus K Wilting committed 2020-05-21 19:42:42 +02:00
1 parent 9c0b504841
commit 05e5d31a53
8 files changed
+39 -29

No files matched your search

+1 -3
View File
@@ -8,13 +8,11 @@
#include <stdint.h>
// enable only if you want to store a local paxcount table on the device
//#define HAS_SDCARD 2 // this board has an SD-card-reader/writer
//#define HAS_SDCARD 2 // this board has a SDMMC card-reader/writer
// enable only if you want to send paxcount via ethernet port to mqtt server
#define HAS_MQTT 1 // use MQTT on ethernet interface
#define DISABLE_BROWNOUT 1 // comment out if you want to keep brownout feature
//#define BAT_MEASURE_ADC ADC1_GPIO35_CHANNEL // battery probe GPIO pin -> ADC1_CHANNEL_7
//#define BAT_VOLTAGE_DIVIDER 2 // voltage divider 470k/470k on board
#define BAT_MEASURE_ADC ADC1_GPIO39_CHANNEL // external power probe GPIO pin