Open 9H1LO opened 8 years ago
I'm having the same trouble with the code at: HVAC-IR-Control/HVAC_ESP8266/HVAC_ESP8266T.ino
toshiba_esp8266:25: error: variable or field 'sendHvacToshiba' declared void toshiba_esp8266:25: error: 'HvacMode' was not declared in this scope toshiba_esp8266:26: error: expected primary-expression before 'int' toshiba_esp8266:27: error: 'HvacFanMode' was not declared in this scope toshiba_esp8266:28: error: expected primary-expression before 'int' variable or field 'sendHvacToshiba' declared void
UPDATE: OK, I solved my problem with this by moving the typedefs to a separate header file ... and then using #include "toshiba.h" at the top of the HVAC_ESP8266T.ino file ...
It won't compile without restructuring.
Fork from: https://github.com/susumuota/HVAC-IR-Control Compiles but doesn't seem to work for my Panasonic air cond. No response from the air cond.
actesting.ino:29:3: error: variable or field 'sendHvacMitsubishi' declared void actesting.ino:29:3: error: 'HvacMode' was not declared in this scope actesting.ino:30:3: error: expected primary-expression before 'int' actesting.ino:31:3: error: 'HvacFanMode' was not declared in this scope actesting.ino:32:3: error: 'HvacVanneMode' was not declared in this scope actesting.ino:33:3: error: expected primary-expression before 'int' variable or field 'sendHvacMitsubishi' declared void