22 lines
428 B
C++
22 lines
428 B
C++
#include <Arduino.h>
|
|
|
|
#define MQTT_URI "miarma.net"
|
|
#define API_URI "https://contaminus.miarma.net/api/v1/"
|
|
#define REST_PORT 443
|
|
#define MQTT_PORT 1883
|
|
|
|
#define MQ7_ID 3
|
|
#define BME280_ID 2
|
|
#define GPS_ID 1
|
|
#define MAX7219_ID 1
|
|
|
|
#define ECO "Solo vehiculos electricos/hibridos"
|
|
#define ALL "Todo tipo de vehiculos"
|
|
|
|
#define DEBUG
|
|
|
|
#define SENSOR 0
|
|
#define ACTUATOR 1
|
|
|
|
extern const uint32_t DEVICE_ID;
|
|
extern const int GROUP_ID; |