When opening blackjack in the emulator and selecting "Bangle.js 2" as emulation target the script for Bangle.js1 is loaded. Obvious by the some visible parts missing (smaller resolution of the 2) and the error message:
Uncaught ReferenceError: "BTN4" is not defined
at line 1 col 17
setWatch(hitMe, BTN4, {repeat:true, edge:"falling"});
Uncaught ReferenceError: "BTN5" is not defined
at line 1 col 17
setWatch(stand, BTN5, {repeat:true, edge:"falling"});
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.
When opening blackjack in the emulator and selecting "Bangle.js 2" as emulation target the script for Bangle.js1 is loaded. Obvious by the some visible parts missing (smaller resolution of the 2) and the error message: