Ladies & gentlemen, please forgive my limited understanding of OOP.
Using the Arduino IDE to work on ESP32. Sucssefully using a .txt file to hold some parameters. Now changing stuff around and and got a compiler error that my file name (ctlfile1) was not in scope. Got to looking and realized there are several places where I use:
File myFilename FFat.open("/storageFilename")
This seems to me to be like a multiple definition of "myFilename". I always close the file as soon as I'm finished doing something to it, so I don't think it is actually open multiple places at the same time. It makes me nervous.
What is the actual rule? Does this question make any sense?
Thanks, Chuck659 in Dallas