• @Christof550, other option with your uploading approach is:

    • put your active code - lines 17..93 - into the onInit() function
    • send the reset(1) command separately as pre-amble (the true-thy arg clears saved code)
    • drop the notify(0); clearInterval(); clearWatch(); - reset() already took care of this;
    • send the code (lines 6..93 with active code in onInit() function)
    • send the save() command separately as post-amble - it will save the code and invoke onInit() and get's 'you' going

    Any restart of the code / power cycle will then just do fine... (load/execute the - initialization and defining the onInit() - code in to ram and then invoke the onInit();).

About

Avatar for allObjects @allObjects started