accelrec for bangle.js 2

master
Gordon Williams 2023-05-19 16:59:17 +01:00
parent ef854552b2
commit 796bfdad63
3 changed files with 4 additions and 3 deletions

View File

@ -2,3 +2,4 @@
0.02: Increase record time to 5 second 0.02: Increase record time to 5 second
Calculate the time moving in graph display Calculate the time moving in graph display
Trigger on 1.04g now, and record 10 samples before trigger Trigger on 1.04g now, and record 10 samples before trigger
0.03: Bangle.js 2 compatibility

View File

@ -102,7 +102,7 @@ function showData() {
g.drawString("FINISH",g.getWidth()-4,g.getHeight()/2); g.drawString("FINISH",g.getWidth()-4,g.getHeight()/2);
setWatch(function() { setWatch(function() {
showMenu(); showMenu();
}, BTN2); }, global.BTN2?BTN2:BTN);
} }
function showBig(txt) { function showBig(txt) {

View File

@ -2,11 +2,11 @@
"id": "accelrec", "id": "accelrec",
"name": "Acceleration Recorder", "name": "Acceleration Recorder",
"shortName": "Accel Rec", "shortName": "Accel Rec",
"version": "0.02", "version": "0.03",
"description": "This app puts the Bangle's accelerometer into 100Hz mode and reads 2 seconds worth of data after movement starts. The data can then be exported back to the PC.", "description": "This app puts the Bangle's accelerometer into 100Hz mode and reads 2 seconds worth of data after movement starts. The data can then be exported back to the PC.",
"icon": "app.png", "icon": "app.png",
"tags": "", "tags": "",
"supports": ["BANGLEJS"], "supports": ["BANGLEJS","BANGLEJS2"],
"readme": "README.md", "readme": "README.md",
"interface": "interface.html", "interface": "interface.html",
"storage": [ "storage": [