This is what the WebIDE is gererating and sending if When sending code, set Espruino's clock to the current time is checked.
var time = new Date(); code = "setTime("+(time.getTime()/1000)+");E.setTimeZone("+(-time.getTimezoneOffset()/60)+")\n"
How to implement this feature into the WebIDE as a standalone function witn an icon like Set Espruino Time?
@MaBe started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
This is what the WebIDE is gererating and sending if When sending code, set Espruino's clock to the current time is checked.
How to implement this feature into the WebIDE as a standalone function witn an icon like Set Espruino Time?