Commit bc832088 authored by PhiBo's avatar PhiBo 🚀

Remove unused code

parent 342d96e8
......@@ -59,18 +59,9 @@ void setup() {
rpc_sensor_node = new ArduRPC_SensorNode(*rpc, "");
}
/*sensor_dht = new DHT(6, DHT22);
sensor_dht->begin();*/
//mySerial.begin(9600);
//rpc.connectHandler(&sensor_node, 0x10);
// put your setup code here, to run once:
Serial.println("foo");
}
void loop() {
//a->writeValue();
//rpc_serial.readData();
//sensor_dht->readTemperature();
if(sensor_node_mode == NODE_MODE_ACTIVE) {
sensor_node->run();
digitalWrite(PIN_ESP8266_SET, HIGH);
......
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