Hi, Working on the Smart Home Ebook, Module 5.2 and am unable to compile due to the following error:
I have Ticker 4.4.0 installed and get the compiler error
no matching function for call to ‘Ticker::Ticker()’
Any help would be greatly appreciated
“error: ‘class Ticker’ has no member named ‘once'”
Same for “detach”
Hi Matt.
Try updating your ESP8266 boards version. Go to Tools > Boards > Boards Manager, search for ESP8266, and updated to the latest version 3.0.2.
Then, restart your Arduino IDE and try to compile the code again.
Let me know if this solves your issue.
Regards,
Sara
Hi Sara,
Thanks for getting back to me so quickly. I did as you suggested and found I was already running 3.0.2, so I backed up to 3.0.1, restarted IDE , and the code complied.
Then I went back and upgraded to 3.0.2 again, restarted IDE and coded compiled and uploaded successfully .
Looks to me as though my original installation of 3.0.2 was flawed.
Thanks so much for your help, now back to learning.
Cheers,
Matt