BangleJS 2 Multi-Timer
To time multiple things.
Install
- Connect to your BangleJS 2 over Bluetooth LE, on a supported browser (e.g. Chrome or Edge).
- Copy
app.js
into the web IDE and download in onto your BangleJS 2. Give the file a unique name, saymytimer.app.js
. - Provide your App Loader with the metadata required the run the app by entering the code below into the web IDE console.
require("Storage").write("mytimer.info", {
id: "multi-timer",
name: "Multi Timer",
src: "mytimer.app.js",
})
Build
Install the dependencies and then compile the TypeScript, ./src/app.ts
, into ./src/app.js
.
npm install
npm run build