Yes, g.dump() wasn't possible on Bangle.js 1 because there was no readback, but it's really handle on Bangle.js 2.
g.dump()
For the emulator, do Bangle.factoryReset() which will load default apps/widgets in, and then when you upload your app you'll get widgets too :)
Bangle.factoryReset()
Awesome, thanks Gordon!
@jgDev started
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.
Yes,
g.dump()
wasn't possible on Bangle.js 1 because there was no readback, but it's really handle on Bangle.js 2.For the emulator, do
Bangle.factoryReset()
which will load default apps/widgets in, and then when you upload your app you'll get widgets too :)