03-17-2018, 02:49 PM
Hi!!
I want to use a 5 ports power plug RF .
I test the library Rc-Swicth and i can turn on and off every plug with out problems.
Here's library: https://github.com/sui77/rc-switch
The problem its when i try to update the robo tank Controller sketch with the RF sketch.
Only when i add this 2 lines , before void setup , crash
#include <RCSwitch.h>
RCSwitch mySwitch = RCSwitch();
This its the error that arduino Ide show...
Its very strange because lines 104, 105, 106 are:
DHT dht1(sensor2Pin, DHTTYPE);
DHT dht2(sensor4Pin, DHTTYPE);
DHT dht3(sensor5Pin, DHTTYPE);
DHT dht4(sensor6Pin, DHTTYPE);
I trry to check it some days....but i cant solve it!!!
I hope somebody can help me!!
Thanks!!
I want to use a 5 ports power plug RF .
I test the library Rc-Swicth and i can turn on and off every plug with out problems.
Here's library: https://github.com/sui77/rc-switch
The problem its when i try to update the robo tank Controller sketch with the RF sketch.
Only when i add this 2 lines , before void setup , crash
#include <RCSwitch.h>
RCSwitch mySwitch = RCSwitch();
This its the error that arduino Ide show...
Code:
Arduino:1.6.5 (Windows 8.1), TD: 1.41, Placa:"Arduino Due (Programming Port)"
Controller:104: error: variable or field 'SendOKpage2' declared void
Controller:104: error: 'EthernetClient' was not declared in this scope
Controller:104: error: 'client' was not declared in this scope
Controller:105: error: variable or field 'SendAuthentificationpage' declared void
Controller:105: error: 'EthernetClient' was not declared in this scope
Controller:105: error: 'client' was not declared in this scope
Controller:106: error: variable or field 'XML_response' declared void
Controller:106: error: 'EthernetClient' was not declared in this scope
Controller.ino: In function 'void loop()':
Controller:1402: error: 'SendOKpage2' was not declared in this scope
Controller:1409: error: 'SendAuthentificationpage' was not declared in this scope
Controller.ino: In function 'void SendOKpage2(EthernetClient&)':
Controller:3264: error: 'XML_response' was not declared in this scope
variable or field 'SendOKpage2' declared void
DHT dht1(sensor2Pin, DHTTYPE);
DHT dht2(sensor4Pin, DHTTYPE);
DHT dht3(sensor5Pin, DHTTYPE);
DHT dht4(sensor6Pin, DHTTYPE);
I trry to check it some days....but i cant solve it!!!
I hope somebody can help me!!
Thanks!!