• 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?

About

Avatar for MaBe @MaBe started