commit
b85c75f78b
|
|
@ -1 +1,2 @@
|
||||||
0.01: New App!
|
0.01: New App!
|
||||||
|
0.02: Shorten the timeout before executing to 250 ms.
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
# Fast Reset
|
# Fast Reset
|
||||||
|
|
||||||
Reset the watch by holding the hardware button for half a second. If 'Fastload Utils' is installed this will typically be done with fastloading. A buzz acts as indicator.
|
Reset the watch by pressing the hardware button just a little bit longer than a click. If 'Fastload Utils' is installed this will typically be done with fastloading. A buzz acts as indicator.
|
||||||
|
|
||||||
Fast Reset was developed with the app history feature of 'Fastload Utils' in mind. If many apps are in the history stack, the user may want a fast way to exit directly to the clock face without using the firmwares reset function.
|
Fast Reset was developed with the app history feature of 'Fastload Utils' in mind. If many apps are in the history stack, the user may want a fast way to exit directly to the clock face without using the firmwares reset function.
|
||||||
|
|
||||||
|
|
@ -12,11 +12,11 @@ Just install and it will run as boot code.
|
||||||
|
|
||||||
If 'Fastload Utils' is installed fastloading will be used when possible. Otherwise a standard `load(.bootcde)` is used.
|
If 'Fastload Utils' is installed fastloading will be used when possible. Otherwise a standard `load(.bootcde)` is used.
|
||||||
|
|
||||||
If the hardware button is held for longer the standard reset functionality of the firmware is executed as well (total 1.5 seconds). And eventually the watchdog will be kicked.
|
If the hardware button is held for longer the standard reset functionality of the firmware is executed as well. And eventually the watchdog will be kicked.
|
||||||
|
|
||||||
## Controls
|
## Controls
|
||||||
|
|
||||||
Hold the hardware button for half a second to feel the buzz, loading the clock face.
|
Press the hardware button just a little longer than a click to feel the buzz, loading the clock face.
|
||||||
|
|
||||||
## Requests
|
## Requests
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
{let buzzTimeout;
|
{let buzzTimeout;
|
||||||
setWatch((e)=>{
|
setWatch((e)=>{
|
||||||
if (e.state) buzzTimeout = setTimeout(()=>{Bangle.buzz(80,0.40);Bangle.showClock();}, 500);
|
if (e.state) buzzTimeout = setTimeout(()=>{Bangle.buzz(80,0.40);Bangle.showClock();}, 250);
|
||||||
if (!e.state && buzzTimeout) clearTimeout(buzzTimeout);},
|
if (!e.state && buzzTimeout) clearTimeout(buzzTimeout);},
|
||||||
BTN,{repeat:true, edge:'both' });}
|
BTN,{repeat:true, edge:'both' });}
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,12 @@
|
||||||
{ "id": "fastreset",
|
{ "id": "fastreset",
|
||||||
"name": "Fast Reset",
|
"name": "Fast Reset",
|
||||||
"shortName":"Fast Reset",
|
"shortName":"Fast Reset",
|
||||||
"version":"0.01",
|
"version":"0.02",
|
||||||
"description": "Reset the watch by holding the hardware button for half a second. If 'Fastload Utils' is installed this will typically be done with fastloading. A buzz acts as indicator.",
|
"description": "Reset the watch by pressing the hardware button just a little bit longer than a click. If 'Fastload Utils' is installed this will typically be done with fastloading. A buzz acts as indicator.",
|
||||||
"icon": "app.png",
|
"icon": "app.png",
|
||||||
"type": "bootloader",
|
"type": "bootloader",
|
||||||
"tags": "system",
|
"tags": "system",
|
||||||
"supports" : ["BANGLEJS2"],
|
"supports" : ["BANGLEJS2"],
|
||||||
"readme": "README.md",
|
"readme": "README.md",
|
||||||
"storage": [
|
"storage": [
|
||||||
{"name":"fastreset.boot.js","url":"boot.js"}
|
{"name":"fastreset.boot.js","url":"boot.js"}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue