I am using an Arduino/Genuino Uno VID: 2341 and the IDE with the version nbr. 1.8.5.
I am trying to split my code in tabs. I have used the “IR_Receiver_Module.ino” (my main file) as a starting point. (Came with the starting kit on a CD-ROM)
Just for testing purposes I have added the LCD-library by #include <LiquidCrystal.h> into the main file. I now can use the functions of the display in the R_Receiver_Module.ino program.
Then I set up a TAB (by using the little down pointing triangle) and I am using a little function there. Nothing else. Here is the compete code of the tab
*** Start of Copy TAB***
*** End of Copy ***
*** Start of Copy Main file ***
In one routine I call Warten()
In the main file, I have already included “LiquidCrystal.h”. I have tried the tab code with and without including LiquidCrystal.h, but upon compiling it I receive only this error message: test:7: error: ‘lcd’ was not declared in this scope.
If I blank the line lcd.print(“Warten() !”); out, The code runs through compilation without any complaints.
Does anybody have an idea what I am doing wrong there?
Thank you very much and enjoy New Year’s Eve.