I have done this before, a few years ago, and succeeded, but did not take notes and am doing something wrong now – please help.
I am trying to compile the KmanOz-SOnOff code to upload to a device. I am using Arduino IDE V1.8.8 and the relevant directories are structured as:
- …\Arduino\libraries\pubsubclient-master (this version: https://github.com/Imroy/pubsubclient)
Per an email from KmanOz a few years ago, I have the board set as ‘Generic ESP8285 module’ and the Flash Size as ‘1M(64K SPIFFS)’.
However, when I click on Sketch->Verify/Compile, I get a huge slew of errors. This suggests to me that I have forgotten to do something or am missing a library. Sadly, when I googled how to compile this code, I found nothing useful. So, would you please either point me to instructions or tell me what I am doing wrong. Thanks.