Commit effa2568 authored by user2684's avatar user2684 Committed by GitHub
Browse files

Revert "Enhanced remote API #102 #20 #28 #53 #78"

This reverts commit 34e073fc.
parent 34e073fc
This diff is collapsed.
This diff is collapsed.
...@@ -33,14 +33,10 @@ void before() { ...@@ -33,14 +33,10 @@ void before() {
/* /*
* Register below your sensors * Register below your sensors
*/ */
int n = nodeManager.registerSensor(SENSOR_THERMISTOR,A1);
Sensor* sensor = nodeManager.get(n);
Serial.println(sizeof(Sensor));
Serial.println(sizeof(SensorThermistor));
Serial.println(sizeof(NodeManager));
Serial.println(sizeof(Timer));
/* /*
* Register above your sensors * Register above your sensors
*/ */
......
This diff is collapsed.
...@@ -15,11 +15,11 @@ ...@@ -15,11 +15,11 @@
// General settings // General settings
#define MY_BAUD_RATE 9600 #define MY_BAUD_RATE 9600
//#define MY_DEBUG //#define MY_DEBUG
#define MY_NODE_ID 100 //#define MY_NODE_ID 100
// NRF24 radio settings // NRF24 radio settings
#define MY_RADIO_NRF24 #define MY_RADIO_NRF24
#define MY_RF24_ENABLE_ENCRYPTION //#define MY_RF24_ENABLE_ENCRYPTION
//#define MY_RF24_CHANNEL 76 //#define MY_RF24_CHANNEL 76
//#define MY_RF24_PA_LEVEL RF24_PA_HIGH //#define MY_RF24_PA_LEVEL RF24_PA_HIGH
//#define MY_DEBUG_VERBOSE_RF24 //#define MY_DEBUG_VERBOSE_RF24
...@@ -102,12 +102,12 @@ ...@@ -102,12 +102,12 @@
// if enabled, send a SLEEPING and AWAKE service messages just before entering and just after leaving a sleep cycle and STARTED when starting/rebooting // if enabled, send a SLEEPING and AWAKE service messages just before entering and just after leaving a sleep cycle and STARTED when starting/rebooting
#define SERVICE_MESSAGES 0 #define SERVICE_MESSAGES 0
// Enable this module to use one of the following sensors: SENSOR_ANALOG_INPUT, SENSOR_LDR, SENSOR_THERMISTOR, SENSOR_ML8511, SENSOR_ACS712, SENSOR_RAIN_GAUGE, SENSOR_RAIN, SENSOR_SOIL_MOISTURE // Enable this module to use one of the following sensors: SENSOR_ANALOG_INPUT, SENSOR_LDR, SENSOR_THERMISTOR, SENSOR_MQ, SENSOR_ML8511, SENSOR_ACS712, SENSOR_RAIN_GAUGE
#define MODULE_ANALOG_INPUT 1 #define MODULE_ANALOG_INPUT 1
// Enable this module to use one of the following sensors: SENSOR_DIGITAL_INPUT // Enable this module to use one of the following sensors: SENSOR_DIGITAL_INPUT
#define MODULE_DIGITAL_INPUT 0 #define MODULE_DIGITAL_INPUT 1
// Enable this module to use one of the following sensors: SENSOR_DIGITAL_OUTPUT, SENSOR_RELAY, SENSOR_LATCHING_RELAY // Enable this module to use one of the following sensors: SENSOR_DIGITAL_OUTPUT, SENSOR_RELAY, SENSOR_LATCHING_RELAY
#define MODULE_DIGITAL_OUTPUT 0 #define MODULE_DIGITAL_OUTPUT 1
// Enable this module to use one of the following sensors: SENSOR_DHT11, SENSOR_DHT22 // Enable this module to use one of the following sensors: SENSOR_DHT11, SENSOR_DHT22
#define MODULE_DHT 0 #define MODULE_DHT 0
// Enable this module to use one of the following sensors: SENSOR_SHT21 // Enable this module to use one of the following sensors: SENSOR_SHT21
...@@ -130,7 +130,5 @@ ...@@ -130,7 +130,5 @@
#define MODULE_HCSR04 0 #define MODULE_HCSR04 0
// Enable this module to use one of the following sensors: SENSOR_MCP9808 // Enable this module to use one of the following sensors: SENSOR_MCP9808
#define MODULE_MCP9808 0 #define MODULE_MCP9808 0
// Enable this module to use one of the following sensors: SENSOR_MQ
#define MODULE_MQ 0
#endif #endif
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment