forked from FOSS/BangleApps
Report latest HRM rather than HRM 10 minutes ago (fix #2395)
parent
7d04e3852f
commit
0b2ca361c4
|
@ -1,4 +1,5 @@
|
||||||
0.01: AdvCasio first version
|
0.01: AdvCasio first version
|
||||||
0.02: Remove un-needed fonts to improve memory usage
|
0.02: Remove un-needed fonts to improve memory usage
|
||||||
0.03: Tell clock widgets to hide.
|
0.03: Tell clock widgets to hide.
|
||||||
0.04: Swipe down to see widgets, step counter now just uses getHealthStatus
|
0.04: Swipe down to see widgets, step counter now just uses getHealthStatus
|
||||||
|
0.05: Report latest HRM rather than HRM 10 minutes ago (fix #2395)
|
|
@ -122,7 +122,7 @@ function draw() {
|
||||||
g.setFontAlign(0,-1);
|
g.setFontAlign(0,-1);
|
||||||
g.setFont("8x12", 2);
|
g.setFont("8x12", 2);
|
||||||
g.drawString(getTemperature(), 155, 132);
|
g.drawString(getTemperature(), 155, 132);
|
||||||
g.drawString(Math.round(Bangle.getHealthStatus("last").bpm), 109, 98);
|
g.drawString(Math.round(Bangle.getHealthStatus().bpm||Bangle.getHealthStatus("last").bpm), 109, 98);
|
||||||
g.drawString(getSteps(), 158, 98);
|
g.drawString(getSteps(), 158, 98);
|
||||||
|
|
||||||
g.setFontAlign(-1,-1);
|
g.setFontAlign(-1,-1);
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{ "id": "advcasio",
|
{ "id": "advcasio",
|
||||||
"name": "Advanced Casio Clock",
|
"name": "Advanced Casio Clock",
|
||||||
"shortName":"advcasio",
|
"shortName":"advcasio",
|
||||||
"version":"0.04",
|
"version":"0.05",
|
||||||
"description": "An over-engineered clock inspired by Casio watches. It has a 4 days weather, a timer using swipe and a scratchpad. Can be updated using a dedicated webapp.",
|
"description": "An over-engineered clock inspired by Casio watches. It has a 4 days weather, a timer using swipe and a scratchpad. Can be updated using a dedicated webapp.",
|
||||||
"icon": "app.png",
|
"icon": "app.png",
|
||||||
"tags": "clock",
|
"tags": "clock",
|
||||||
|
|
|
@ -10,4 +10,5 @@
|
||||||
0.9: Remove ESLint spaces
|
0.9: Remove ESLint spaces
|
||||||
0.10: Show daily steps, heartrate and the temperature if weather information is available.
|
0.10: Show daily steps, heartrate and the temperature if weather information is available.
|
||||||
0.11: Tell clock widgets to hide.
|
0.11: Tell clock widgets to hide.
|
||||||
0.12: Swipe down to see widgets, step counter now just uses getHealthStatus
|
0.12: Swipe down to see widgets, step counter now just uses getHealthStatus
|
||||||
|
0.13: Report latest HRM rather than HRM 10 minutes ago (fix #2395)
|
|
@ -121,7 +121,7 @@ function draw() {
|
||||||
g.setFontAlign(0,-1);
|
g.setFontAlign(0,-1);
|
||||||
g.setFont("8x12", 2);
|
g.setFont("8x12", 2);
|
||||||
g.drawString(getTemperature(), 155, 132);
|
g.drawString(getTemperature(), 155, 132);
|
||||||
g.drawString(Math.round(Bangle.getHealthStatus("last").bpm), 109, 98);
|
g.drawString(Math.round(Bangle.getHealthStatus().bpm||Bangle.getHealthStatus("last").bpm), 109, 98);
|
||||||
g.drawString(getSteps(), 158, 98);
|
g.drawString(getSteps(), 158, 98);
|
||||||
|
|
||||||
g.setFontAlign(-1,-1);
|
g.setFontAlign(-1,-1);
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
"description": "Animated Clock with Space Cassio Watch Style",
|
"description": "Animated Clock with Space Cassio Watch Style",
|
||||||
"screenshots": [{ "url": "screens/screen_night.png" },{ "url": "screens/screen_day.png" }],
|
"screenshots": [{ "url": "screens/screen_night.png" },{ "url": "screens/screen_day.png" }],
|
||||||
"icon": "app.png",
|
"icon": "app.png",
|
||||||
"version": "0.12",
|
"version": "0.13",
|
||||||
"type": "clock",
|
"type": "clock",
|
||||||
"tags": "clock, weather, cassio, retro",
|
"tags": "clock, weather, cassio, retro",
|
||||||
"supports": ["BANGLEJS2"],
|
"supports": ["BANGLEJS2"],
|
||||||
|
|
|
@ -24,3 +24,4 @@
|
||||||
0.24: Add ability to disable alarm functionality.
|
0.24: Add ability to disable alarm functionality.
|
||||||
0.25: Add more colors to the settings and add the ability to disable the data charts+Markup.
|
0.25: Add more colors to the settings and add the ability to disable the data charts+Markup.
|
||||||
0.26: Use widget_utils.
|
0.26: Use widget_utils.
|
||||||
|
0.27: Report latest HRM rather than HRM 10 minutes ago (fix #2395)
|
|
@ -240,7 +240,7 @@ function _drawData(key, y, c){
|
||||||
value = E.getAnalogVRef().toFixed(2) + "V";
|
value = E.getAnalogVRef().toFixed(2) + "V";
|
||||||
|
|
||||||
} else if(key == "HRM"){
|
} else if(key == "HRM"){
|
||||||
value = Math.round(Bangle.getHealthStatus("last").bpm);
|
value = Math.round(Bangle.getHealthStatus().bpm||Bangle.getHealthStatus("last").bpm);
|
||||||
|
|
||||||
} else if (key == "TEMP"){
|
} else if (key == "TEMP"){
|
||||||
var weather = getWeather();
|
var weather = getWeather();
|
||||||
|
@ -710,7 +710,7 @@ Bangle.on('touch', function(btn, e){
|
||||||
var is_right = e.x > right;
|
var is_right = e.x > right;
|
||||||
var is_upper = e.y < upper;
|
var is_upper = e.y < upper;
|
||||||
var is_lower = e.y > lower;
|
var is_lower = e.y > lower;
|
||||||
|
|
||||||
if(!settings.disableData){
|
if(!settings.disableData){
|
||||||
if(is_left && lcarsViewPos == 1){
|
if(is_left && lcarsViewPos == 1){
|
||||||
feedback();
|
feedback();
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
"name": "LCARS Clock",
|
"name": "LCARS Clock",
|
||||||
"shortName":"LCARS",
|
"shortName":"LCARS",
|
||||||
"icon": "lcars.png",
|
"icon": "lcars.png",
|
||||||
"version":"0.26",
|
"version":"0.27",
|
||||||
"readme": "README.md",
|
"readme": "README.md",
|
||||||
"supports": ["BANGLEJS2"],
|
"supports": ["BANGLEJS2"],
|
||||||
"description": "Library Computer Access Retrieval System (LCARS) clock.",
|
"description": "Library Computer Access Retrieval System (LCARS) clock.",
|
||||||
|
|
Loading…
Reference in New Issue