@Robin and @allObjects thank you for all the tips, but guess what 'fixed' it? Merging the latest upstream from espruino/BangleApps repo into my fork and redeploying (almost) the same code. I will dig into the changeset and see if I can spot what changed.
Couple of points though:
E.on('init'...) : I am not sure Bangle Apps fall in this category, because I am guessing Bangle HW on init, start the firmware first and not the App (not my App anyway).
IIFE - I deserve no credit for getting that to work, I was simply copying a pattern from the most basic clock App in the Repo.
H/w - @allObjects I was just too impatient to wait 3 months, I want to dump my Fitbit as soon as possible, I backed the Beta Unit, so I am developing on device.
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.
@Robin and @allObjects thank you for all the tips, but guess what 'fixed' it? Merging the latest upstream from espruino/BangleApps repo into my fork and redeploying (almost) the same code. I will dig into the changeset and see if I can spot what changed.
Couple of points though:
E.on('init'...) : I am not sure Bangle Apps fall in this category, because I am guessing Bangle HW on init, start the firmware first and not the App (not my App anyway).
IIFE - I deserve no credit for getting that to work, I was simply copying a pattern from the most basic clock App in the Repo.
H/w - @allObjects I was just too impatient to wait 3 months, I want to dump my Fitbit as soon as possible, I backed the Beta Unit, so I am developing on device.
Thanks again.