Closed sorriso93 closed 5 years ago
Hi,
I fairly sure you've accidentally corrupted the ir_Fujitsu.cpp
file.
The first line of which does not start with 'ir'. e.g. https://github.com/markszabo/IRremoteESP8266/blob/master/src/ir_Fujitsu.cpp#L1
As you successfully compiled the IRrecvDumpV2
program, which uses that file as well, you probably corrupted it some time after compiling that and before trying to compile the TurnOnFujitsuAC
example code.
Either remove the leading ir
from the first line of that file, or go to the Arduino Library Manager and try to convince it to re-load/re-install the library for you from scratch.
Unbelievable... I don't know how it occurred! You were right Many thanks
Hello I compiled and executed with no problem the example IRrecvDumpV2, got the IR codes correctly. If I try to compile in arduino ide the TurnOnFujitsuAC.ino I get an error: ../Arduino/libraries/IRremoteESP8266/src/ir_Fujitsu.cpp:1:1: error: 'ir' does not name a type ir// Copyright 2017 Jonny Graham, David Conran
Version/revison of the library used
2.5.4 library eps8266 board 2.4.2 version
Expected behavior
compiling TurnOnFujitsuAC.ino
Actual behavior
../Arduino/libraries/IRremoteESP8266/src/ir_Fujitsu.cpp:1:1: error: 'ir' does not name a type ir// Copyright 2017 Jonny Graham, David Conran ^