First error in 142 lines: """" Tw = EEPROM.readFloat(address);"""""thermostat_marque_android.ino: In function 'void setup()':thermostat_marque_android:142: error: 'EEPROM' was not declared in this scopethermostat_marque_android.ino: In function 'void loop()':thermostat_marque_android:281: error: 'EEPROM' was not declared in this scopethermostat_marque_android.ino: In function 'void action(int, EthernetClient)':thermostat_marque_android:423: error: 'EEPROM' was not declared in this scopethermostat_marque_android:460: error: 'EEPROM' was not declared in this scopethx Marque in advance.br ale
Hi everyone!I am completely new to this, and chose this as my first project.Probably should have started with something more simple... Anyway, this is a bit more that a project, is something that I realy need working...I bought all the parts, download everything and know I am getting some errors when compiling the sketch.Highlithed in yellow is the lines I am having problem with...The first one says:error: 'DHT22' was not declared in this scope - This should be only to identify the sensor type inside the DHT library. However if I include the DHT22 library the error goes away. Then the next one says:error: expected primary-expression before ')' token - I don't have a clue how to solve this one... There is some more, but one at the time... LOL/*DHT.cpp has an default delay of 250. This makes the system realy slow and must be adjusted to 50 to react faster Hardware used: Arduino uno Ethernet Shield W5100 DFRobot LCD Keypad Shield DHT22 Humidity and Temperature sensor 2x 2 channel 5v relay __________1___ Room Thermostat pin 2Relay 1___2__/ Heater pin 2__________3___ Relay 2 __________1___ Mot ConnectedRelay 2___2__/ Relay 1__________3___ Heater pin 1 and Room Thermostat pin 1 */#include <LiquidCrystal.h>#include <Ethernet.h>#include <HTTPClient.h>#include <EEPROMEx.h>#include <SPI.h>#include <DHT.h> #define DHTPIN1 (A0) // pin connected to temperature sensor#define DHTPIN2 (A1) // optional second temperature sensor#define DHTTYPE DHT22 DHT dht1(DHTPIN1, DHTTYPE);DHT dht2(DHTPIN2, DHTTYPE);const int System = 2; // pin connected to relay 1const int Heater = 3; // pin connected to relay 2const int Buzzer = A5; // pin connected to buzzerfloat Tc; // measured temperaturefloat Td; // disired temperaturefloat h1;float h2;float t2;float Tt;int softwareversion = 1191;int address = 0; // eeprom addressIf anyone can help will be much appreciated!Thank you in advance!
hiWith the new one I get this:Arduino: 1.5.4 (Windows XP), Board: "Arduino Uno"ThermoduinoPro_beta_ino:24: error: 'A10' was not declared in this scopeThermoduinoPro_beta_ino:24: error: 'DHT22' was not declared in this scopeThermoduinoPro_beta_ino:31: error: 'A13' was not declared in this scopeThermoduinoPro_beta_ino.ino: In function 'void setup()':ThermoduinoPro_beta_ino:981: error: 'A8' was not declared in this scopeThermoduinoPro_beta_ino:984: error: 'A12' was not declared in this scopeThermoduinoPro_beta_ino:987: error: 'A14' was not declared in this scopeThermoduinoPro_beta_ino:995: error: 'class DHT' has no member named 'begin'ThermoduinoPro_beta_ino.ino: In function 'void loop()':ThermoduinoPro_beta_ino:1030: error: 'class DHT' has no member named 'readHumidity'ThermoduinoPro_beta_ino:1031: error: 'class DHT' has no member named 'readTemperature'
Some feedback about your Thermoduino Pro...One of my "control panels" is running android 4.0.4... and the app just close down as if a fatal error is encountered...On the other panel running 4.1.1 it runs just fine... my both phones with 4.1.2 no problem as well...