I play with LED stream and panel controlled by neopixel module.
I have tried to make home clock. I want to use use ntp-client from GitHub to get accurate initial time. I have found that it use dgram module, which is in Espruino reference but can not be connected.
I can see 'Uncaught Error: Module "dgram" not found' message.
The same happens if I try to use the module in my code.
I think may be the module is not included for ESP8266.
How to add dgram support to ESP8266?
No need to, on ESP8266 board just use this and change sntp_srv to your country.
Thank you! It works!
Thanks for your feedback. Think about sharing your home clock on Project
Don't worry about formatting, just type in the text and we'll take care of making sense of it. We will auto-convert links, and if you put asterisks around words we will make them bold.
For a full reference visit the Markdown syntax.
© Espruino, powered by microcosm.
Report a problem