• I experiment with some standalone datalogger which issues save() internally for data persistency.

    When I use reset(), the code is still in the flash memory and can be used with load(). That's OK.
    But what is the correct way to reset the flash memory to a neutral state?

    For the moment in time I use "reset();save()"

    But when the PICO is connected to a USB I get a constant green LED and the dump() says:

    dump()
    setSleepIndicator(B12);
    digitalWrite(B12,1);
    =undefined

    1st question:
    So is there a way to clear the flash so there is no "setSleepIndicator(B12); digitalWrite(B12,1);" ?

    2nd question:
    Is there a way for a 'mute' save().
    save() generates a lot of output to the console; in standalone this may overflow the buffers.

    Greetings from Frankfurt/Germany, Uli

About

Avatar for UliMerkel @UliMerkel started