Is there an easy method of setting up the time on my esp8266 by polling ntp?
Add the sntp library in mos.yml and it will update the time automagically.
- origin: https://github.com/mongoose-os-libs/sntp
This might sound like a dumb question - I am a newbie - Which function should I call to allow me to dump the current time to the console. I am currently using java script.
Thank you so much - Last question - can I adjust the time zone?
Yes, you can set sys.tz_spec in mos.yml