2020-05-15 18:00:07 +02:00
|
|
|
// clang-format off
|
|
|
|
// upload_speed 921600
|
2020-05-16 15:30:45 +02:00
|
|
|
// board esp32-poe-iso
|
2020-05-15 18:00:07 +02:00
|
|
|
|
2020-05-16 15:30:45 +02:00
|
|
|
#ifndef _OLIMEXPOEISO_H
|
|
|
|
#define _OLIMEXPOEISO_H
|
2020-05-15 18:00:07 +02:00
|
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
// enable only if you want to store a local paxcount table on the device
|
2020-12-06 14:33:22 +01:00
|
|
|
//#define HAS_SDCARD 2 // this board has a SDMMC card-reader/writer
|
2020-05-15 18:00:07 +02:00
|
|
|
|
2020-05-16 23:49:34 +02:00
|
|
|
// enable only if you want to send paxcount via ethernet port to mqtt server
|
|
|
|
#define HAS_MQTT 1 // use MQTT on ethernet interface
|
|
|
|
|
2020-12-11 13:47:35 +01:00
|
|
|
//#define BAT_MEASURE_ADC ADC1_GPIO35_CHANNEL // battery measurement
|
2020-05-16 23:49:34 +02:00
|
|
|
//#define BAT_VOLTAGE_DIVIDER 2 // voltage divider 470k/470k on board
|
2020-12-11 13:47:35 +01:00
|
|
|
#define BAT_MEASURE_ADC ADC1_GPIO39_CHANNEL // external power sense
|
|
|
|
#define BAT_VOLTAGE_DIVIDER 2.1277f // voltage divider 47k/100k on board
|
2020-05-15 18:00:07 +02:00
|
|
|
|
2020-05-16 15:30:45 +02:00
|
|
|
#define HAS_BUTTON KEY_BUILTIN // on board button
|
2020-05-15 18:00:07 +02:00
|
|
|
#define HAS_LED NOT_A_PIN // no on board LED
|
|
|
|
|
2021-02-02 23:18:05 +01:00
|
|
|
//#define HAS_DISPLAY 1
|
|
|
|
//#define MY_DISPLAY_FLIP 1 // use if display is rotated
|
|
|
|
//#define MY_DISPLAY_SDA SDA
|
|
|
|
//#define MY_DISPLAY_SCL SCL
|
|
|
|
//#define MY_DISPLAY_RST NOT_A_PIN
|
|
|
|
|
2020-05-15 18:00:07 +02:00
|
|
|
#endif
|