Okay... I used the WebIDE to delete the new file and that didn't help either
>require("Storage").getFree(); =2686684 >require("Storage").open("fitclock.log","w").erase(); =undefined >require("Storage").getFree(); =2686684 >require("Storage").compact(); =undefined >require("Storage").getFree(); =2686684 >
Next I'll try to set the file handle to null before deleting it.
@PiOfThings started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Okay... I used the WebIDE to delete the new file and that didn't help either
Next I'll try to set the file handle to null before deleting it.