As a rookie on Arduino, I'm experimenting on building my own libraries, so I made one to generate Morse code.
The constructor function needs two parameters that have to be pulled out of EEPROM everytime the Arduino is power off and back on. My question is, can an object instance be created within the setup() function so a few lines of code can first pullthose parameters out of EEPROM and pass them to the instance constructor? Or instances can only be declared outside setup and loop?
Thanks
XE2BSS