Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help Updating sketch for power plug RF
#1
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...
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
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!!
Reply to top


Messages In This Thread
Help Updating sketch for power plug RF - by jmcadsl - 03-17-2018, 02:49 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Power Bar question Gordon Lehmann 1 2,918 02-28-2019, 02:49 PM
Last Post: Rob F

Forum Jump:

Current time: 03-29-2024, 09:14 AM