esp8266-geigercounter/settings.h

27 lines
572 B
C
Raw Normal View History

2015-12-23 22:49:57 +01:00
#define IDX_CPS_KEY 0
#define IDX_CPM_KEY 2
#define IDX_uSv_KEY 4
#define IDX_CPM 3
#define IDX_uSv 5
#define IDX_MODE 6
#define RECV_LINE_SIZE 37
2015-12-23 23:18:40 +01:00
#define PIN_UART_RX 0 // 4
2015-12-23 22:49:57 +01:00
#define PIN_UART_TX 13 // UNUSED
2015-12-23 23:18:40 +01:00
#define UPDATE_INTERVAL_SECONDS 300L
2015-12-23 22:49:57 +01:00
#define BAUD_GEIGERCOUNTER 9600
2015-12-24 20:12:17 +01:00
const char* ssid = "yourSSID";
const char* password = "----";
2015-12-23 23:18:40 +01:00
2015-12-23 22:49:57 +01:00
#define MQTT_TOPIC_CPM "sensor/radiation/cpm"
#define MQTT_TOPIC_USV "sensor/radiation/uSv"
#define MQTT_TOPIC_LAST_WILL "state/sensor/geigercounter"
const char* mqttHost = "mqtt.core.bckspc.de";
const char* delimiter = ", ";