Press the fourth button (not the little arrow) in the middle bar to upload the code.
Hopefully the bangle boots and everything is fine, that's what happens for me in any case. :) If not try manually rebooting.
Stop following along if the bangle works.
If it still doesn't work I suggest you restore the code from the backup 'bootcde.txt' to your '.bootcde'-file (you'll have to connect the bangle again, se point 2.). In which case your back on square one. Sorry it didn't work :(
EDIT: Consider sharing the code from your 'bootcde.txt' backup with a comment here as well in case that would help in figuring out if something should be fixed somewhere apart from on your bangle.
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.
Try this:
Copy and paste the following code to that same field in which you just deleted all code (it's from my Bangle.js 2 '.bootcde'-file):
Press the fourth button (not the little arrow) in the middle bar to upload the code.
Hopefully the bangle boots and everything is fine, that's what happens for me in any case. :) If not try manually rebooting.
Stop following along if the bangle works.
If it still doesn't work I suggest you restore the code from the backup 'bootcde.txt' to your '.bootcde'-file (you'll have to connect the bangle again, se point 2.). In which case your back on square one. Sorry it didn't work :(
EDIT: Consider sharing the code from your 'bootcde.txt' backup with a comment here as well in case that would help in figuring out if something should be fixed somewhere apart from on your bangle.