• Hi Gordon,
    it looks like there is a little bug with the setSleepIndicator(LED1) which is not cleard with reset():
    I set the Indicator and run a save(); but after a reset() and a following save(), the dump() still showed the setSleepIndicator(B2).
    After calling setSleepIndicator() with undefined argument the dump is empty. So looks like this resists the reset() processing:

    >dump()
    setSleepIndicator(B2);
    digitalWrite(B2,1);
    =undefined
    >reset();
    =undefined
     _____                 _
    |   __|___ ___ ___ _ _|_|___ ___
    |   __|_ -| . |  _| | | |   | . |
    |_____|___|  _|_| |___|_|_|_|___|
              |_| http://espruino.com
     1v84 Copyright 2015 G.Williams
    >save();
    =undefined
    Erasing Flash.....
    Writing...
    Compressed 81600 bytes to 854
    Checking...
    Done!
    >dump()
    setSleepIndicator(B2);
    =undefined
    >setSleepIndicator()
    =undefined
    >dump()
    =undefined
    
About

Avatar for UliMerkel @UliMerkel started