You are reading a single comment by @Alex and its replies. Click here to read the full conversation.
  • Hi all,

    Suppose I have 25 espruinos communicating over ANT+, one is connected to the computer and gets a new function (or an updated function). What it the best way to send this to the other 25? Assuming I can send messages, should I create a function that does an eval of the function string, saves it as a local variable, uses function.replaceWith or function = to overwrite the existing functions and calls save()? Is there a better way to program my espruino's wirelessly, other than connecting to each individually and using the webide?

    Regards,

    Alex

    EDIT: local variable containing temp function will ofcourse be deleted after overwrite is complete.

About

Avatar for Alex @Alex started