Thanks +Gordon for your replies. I will update the Puck tomorrow and hopefully it will fix the issues at the start.
Also I was wondering where is the code that I uploaded stored in the Puck? Is it in the RAM or the flash memory?
Cause I noticed that everything that I have uploaded seems to be lost once I take the battery out/do reset(). So does the Puck not retain any previous uploaded code once the power is lost/resetted?
If I use the require("ble_simple_uart").write() function above to write new commands to another Puck, what happens to the code previously stored? (e.g. I declared an exec() function like you mentioned) Is it overwritten or appended to the end?
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.
Thanks +Gordon for your replies. I will update the Puck tomorrow and hopefully it will fix the issues at the start.
Also I was wondering where is the code that I uploaded stored in the Puck? Is it in the RAM or the flash memory?
Cause I noticed that everything that I have uploaded seems to be lost once I take the battery out/do reset(). So does the Puck not retain any previous uploaded code once the power is lost/resetted?
If I use the
require("ble_simple_uart").write()
function above to write new commands to another Puck, what happens to the code previously stored? (e.g. I declared an exec() function like you mentioned) Is it overwritten or appended to the end?Thanks for your help again :)