Awesome! But doesn't seem to work right. I just uploaded two clocks (code attached) both with a trailing save().
Upload to file system works fine. But then when I hit the play button for one clock it puts it to ram incompletely (pixlClk for example is missing the onInit() function, see screenshot.
Then when I use save() in the console, the pixlClk file suddenly disappears from the file system...?
EDIT: ok, maybe my mistake, I saw there is an function() onInit() instead of function onInit().
But new problem: I fixed the file, uploaded it. Then hit the play button on the file, now dump() shows this:
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.
Awesome! But doesn't seem to work right. I just uploaded two clocks (code attached) both with a trailing save().
Upload to file system works fine. But then when I hit the play button for one clock it puts it to ram incompletely (pixlClk for example is missing the onInit() function, see screenshot.
Then when I use save() in the console, the pixlClk file suddenly disappears from the file system...?
EDIT: ok, maybe my mistake, I saw there is an function() onInit() instead of function onInit().
But new problem: I fixed the file, uploaded it. Then hit the play button on the file, now dump() shows this:
3 Attachments