From ee5127067ef3f6f0e689b1d820b61e45f5f67d11 Mon Sep 17 00:00:00 2001 From: Fion Chan Date: Sat, 16 Jun 2018 09:46:16 -0700 Subject: [PATCH 01/11] fixed typo "ressources" folder --- {ressources => resources}/styles.css | 0 {ressources => resources}/widgets.gui | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename {ressources => resources}/styles.css (100%) rename {ressources => resources}/widgets.gui (100%) diff --git a/ressources/styles.css b/resources/styles.css similarity index 100% rename from ressources/styles.css rename to resources/styles.css diff --git a/ressources/widgets.gui b/resources/widgets.gui similarity index 100% rename from ressources/widgets.gui rename to resources/widgets.gui From 9e82e2655066a84f215345a5242ada79bbd1174d Mon Sep 17 00:00:00 2001 From: Fion Chan Date: Sat, 16 Jun 2018 10:57:28 -0700 Subject: [PATCH 02/11] functions to get current time --- common/time.js | 9 +++++++++ common/utils.js | 7 +++++++ 2 files changed, 16 insertions(+) create mode 100644 common/time.js create mode 100644 common/utils.js diff --git a/common/time.js b/common/time.js new file mode 100644 index 0000000..c674ece --- /dev/null +++ b/common/time.js @@ -0,0 +1,9 @@ +const getTimeStamp = () => { + const now = new Date(); + return now.getTime(); +} + +const getMinutes = () => { + const now = new Date(); + return now.getMinutes(); +} \ No newline at end of file diff --git a/common/utils.js b/common/utils.js new file mode 100644 index 0000000..d401564 --- /dev/null +++ b/common/utils.js @@ -0,0 +1,7 @@ +// Add zero in front of numbers < 10 +export function zeroPad(i) { + if (i < 10) { + i = "0" + i; + } + return i; +} From 9efd3d2c1dc633d2e768107c1020dc6d9af56469 Mon Sep 17 00:00:00 2001 From: Fion Chan Date: Sat, 16 Jun 2018 11:47:37 -0700 Subject: [PATCH 03/11] Countdown timer on clockface ; user input for napTime to be set --- common/CountdownTimer.js | 45 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 common/CountdownTimer.js diff --git a/common/CountdownTimer.js b/common/CountdownTimer.js new file mode 100644 index 0000000..b305077 --- /dev/null +++ b/common/CountdownTimer.js @@ -0,0 +1,45 @@ +import clock from "clock"; +import document from "document"; +import * as util from "../common/utils"; +import * as time from "../common/time"; + + +// napTime to be user input +const napTime = '1'; + +// Get a handle on the element +const myLabel = document.getElementById("myLabel"); + +// set naptTime & allow user to start timer with button +const setNapTime = function(napTime) { + this.napTime = napTime(); + // update + myLabel.text = `${this.napTime}`; + // CONTROL BUTTON + document.onkeypress = function(e) { + console.log("Key pressed: " + e.key); //just prints to log that button has been pressed + startCountdownTimer(); + } +} + +// start countdown timer +const startCountdownTimer = function() { + napTime++; + // updates the clock every minute + clock.granularity = "minutes"; + // start ticking (per minute) the clock + clock.ontick = (evt) => { + napTime--; + // stop ticking clock & ring alarm + if (napTime === 0) { + clock.granularity = "off"; + vibration.start("ring"); + } + updateTimer(napTime); + } +} + +// update minutes left on clock face +const updateTimer = (minsLeft) => { + myLabel.text = `${minsLeft}`; +} \ No newline at end of file From f7c7a192c0904e040623ee93dc472be318055917 Mon Sep 17 00:00:00 2001 From: Fion Chan Date: Sat, 16 Jun 2018 12:00:28 -0700 Subject: [PATCH 04/11] imported vibration so vibration alarm can work --- common/CountdownTimer.js | 1 + 1 file changed, 1 insertion(+) diff --git a/common/CountdownTimer.js b/common/CountdownTimer.js index b305077..b179e2e 100644 --- a/common/CountdownTimer.js +++ b/common/CountdownTimer.js @@ -2,6 +2,7 @@ import clock from "clock"; import document from "document"; import * as util from "../common/utils"; import * as time from "../common/time"; +import { vibration } from "haptics"; // napTime to be user input From 8b633c2bcf4b49d7cf02e71ec2c4909fca4532ce Mon Sep 17 00:00:00 2001 From: Fion Chan Date: Sat, 16 Jun 2018 12:16:34 -0700 Subject: [PATCH 05/11] deleted unnecessary import statements --- common/CountdownTimer.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/common/CountdownTimer.js b/common/CountdownTimer.js index b179e2e..fadf815 100644 --- a/common/CountdownTimer.js +++ b/common/CountdownTimer.js @@ -1,7 +1,5 @@ import clock from "clock"; import document from "document"; -import * as util from "../common/utils"; -import * as time from "../common/time"; import { vibration } from "haptics"; @@ -35,6 +33,7 @@ const startCountdownTimer = function() { if (napTime === 0) { clock.granularity = "off"; vibration.start("ring"); + console.log("Fitbit alarm vibrating.") } updateTimer(napTime); } From 912005e0b01946dc43662e77866e1cf3f66ec369 Mon Sep 17 00:00:00 2001 From: Fion Chan Date: Sat, 16 Jun 2018 13:24:12 -0700 Subject: [PATCH 06/11] fixed exit on down button press; fixed listenButton() --- common/CountdownTimer.js | 29 +++++++++++++++++++++-------- 1 file changed, 21 insertions(+), 8 deletions(-) diff --git a/common/CountdownTimer.js b/common/CountdownTimer.js index fadf815..0db4dd8 100644 --- a/common/CountdownTimer.js +++ b/common/CountdownTimer.js @@ -1,6 +1,7 @@ import clock from "clock"; import document from "document"; import { vibration } from "haptics"; +import { me } from "appbit"; // napTime to be user input @@ -8,17 +9,29 @@ const napTime = '1'; // Get a handle on the element const myLabel = document.getElementById("myLabel"); + +// button function: up to start countdown timer +const listenButton = function() { + // CONTROL BUTTON to start countdown + document.onkeypress = function(e) { + if (e.key === "up") { + console.log("Key pressed: " + e.key); //just prints to log that button has been pressed + startCountdownTimer(); + } + else { + console.log("Key pressed: " + e.key); //just prints to log that button has been pressed + me.exit(); //doesn't exit, need to check how to exit app on down arrow + } + } +} // set naptTime & allow user to start timer with button -const setNapTime = function(napTime) { - this.napTime = napTime(); +function setNapTime(t) { + napTime = t; // update - myLabel.text = `${this.napTime}`; - // CONTROL BUTTON - document.onkeypress = function(e) { - console.log("Key pressed: " + e.key); //just prints to log that button has been pressed - startCountdownTimer(); - } + myLabel.text = `${napTime}`; + // CONTROL BUTTON + listenButton(); } // start countdown timer From 649c13b0bd229c966f493ec696c3a62a27372376 Mon Sep 17 00:00:00 2001 From: Fion Chan Date: Sat, 16 Jun 2018 13:40:19 -0700 Subject: [PATCH 07/11] fixed export of functions --- common/CountdownTimer.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/common/CountdownTimer.js b/common/CountdownTimer.js index 0db4dd8..f7db2d9 100644 --- a/common/CountdownTimer.js +++ b/common/CountdownTimer.js @@ -11,7 +11,7 @@ const napTime = '1'; const myLabel = document.getElementById("myLabel"); // button function: up to start countdown timer -const listenButton = function() { +export const listenButton = function() { // CONTROL BUTTON to start countdown document.onkeypress = function(e) { if (e.key === "up") { @@ -26,7 +26,7 @@ const listenButton = function() { } // set naptTime & allow user to start timer with button -function setNapTime(t) { +export function setNapTime(t) { napTime = t; // update myLabel.text = `${napTime}`; @@ -35,7 +35,7 @@ function setNapTime(t) { } // start countdown timer -const startCountdownTimer = function() { +export const startCountdownTimer = function() { napTime++; // updates the clock every minute clock.granularity = "minutes"; @@ -53,6 +53,6 @@ const startCountdownTimer = function() { } // update minutes left on clock face -const updateTimer = (minsLeft) => { +export const updateTimer = (minsLeft) => { myLabel.text = `${minsLeft}`; } \ No newline at end of file From 35e674f6105430590bf7ea2c8b1c2375a213a184 Mon Sep 17 00:00:00 2001 From: Fion Chan Date: Sat, 16 Jun 2018 14:15:10 -0700 Subject: [PATCH 08/11] updated all files --- app/index.js | 51 ++++------------------------------------ common/CountdownTimer.js | 6 ++--- common/time.js | 9 +++++-- resources/index.gui | 4 ++-- resources/styles.css | 17 +++++++------- 5 files changed, 26 insertions(+), 61 deletions(-) diff --git a/app/index.js b/app/index.js index 3183fb3..3619493 100644 --- a/app/index.js +++ b/app/index.js @@ -1,49 +1,8 @@ -// nApp/app/index.js - +import clock from "clock"; import document from "document"; -import * as messaging from "messaging"; -import { HeartRateSensor } from "heart-rate"; import { vibration } from "haptics"; +import { me } from "appbit"; +import * as CDTimer from "../common/CountdownTimer.js"; -let background = document.getElementById("background"); - -// Message is received -messaging.peerSocket.onmessage = evt => { - console.log(`App received: ${JSON.stringify(evt)}`); - if (evt.data.key === "color" && evt.data.newValue) { - let color = JSON.parse(evt.data.newValue); - console.log(`Setting background color: ${color}`); - background.style.fill = color; - } -}; - -// Message socket opens -messaging.peerSocket.onopen = () => { - console.log("App Socket Open"); -}; - -// Message socket closes -messaging.peerSocket.onclose = () => { - console.log("App Socket Closed"); -}; - - -//Function to make device vibrate when heart rate falls below resting pulse rate - -//resting pulse rate is hardcoded to 20 for now--we will figure out user input later -var resting_pulse_rate = 77; - -var hrm = new HeartRateSensor(); - -hrm.start(); - -// Declare an event handler that will be called every time a new HR value is received. -hrm.onreading = function() { - console.log(`Reading pulse`); - // make device vibrate if heart rate falls below resting pulse rate - if (hrm.heartRate < resting_pulse_rate) { - console.log(`target hit`); - vibration.start("ring"); - hrm.stop(); - } -} +CDTimer.setNapTime('1'); +setInterval(() => {console.log("1 minute has passed.")}, 60000) ; \ No newline at end of file diff --git a/common/CountdownTimer.js b/common/CountdownTimer.js index f7db2d9..f373b6c 100644 --- a/common/CountdownTimer.js +++ b/common/CountdownTimer.js @@ -5,10 +5,10 @@ import { me } from "appbit"; // napTime to be user input -const napTime = '1'; +export const napTime = '1'; // Get a handle on the element -const myLabel = document.getElementById("myLabel"); +export const myLabel = document.getElementById("myLabel"); // button function: up to start countdown timer export const listenButton = function() { @@ -26,7 +26,7 @@ export const listenButton = function() { } // set naptTime & allow user to start timer with button -export function setNapTime(t) { +export const setNapTime = function(t) { napTime = t; // update myLabel.text = `${napTime}`; diff --git a/common/time.js b/common/time.js index c674ece..c396725 100644 --- a/common/time.js +++ b/common/time.js @@ -1,9 +1,14 @@ -const getTimeStamp = () => { +export const getTimeStamp = () => { const now = new Date(); return now.getTime(); } -const getMinutes = () => { +export const getMinutes = () => { const now = new Date(); return now.getMinutes(); +} + +export const getSeconds = () => { + const now = new Date(); + return now.getSeconds(); } \ No newline at end of file diff --git a/resources/index.gui b/resources/index.gui index ce89ed7..daf45c1 100644 --- a/resources/index.gui +++ b/resources/index.gui @@ -1,3 +1,3 @@ - - + + diff --git a/resources/styles.css b/resources/styles.css index d4e1979..987ec82 100644 --- a/resources/styles.css +++ b/resources/styles.css @@ -1,12 +1,13 @@ -.defaultText { - font-size: 32; - font-family: System-Regular; - font-weight: regular; - text-length: 32; +.background { + viewport-fill: blue; } -#background { - width: 100%; - height: 100%; +#myLabel { + font-size: 80; + font-family: System-Bold; + text-length: 32; + text-anchor: middle; + x: 50%; + y: 50%+40; fill: white; } From 0994c3cff4f6ebabb58a1d4249e54f44cfa0a5be Mon Sep 17 00:00:00 2001 From: Fion Chan Date: Sat, 16 Jun 2018 14:49:09 -0700 Subject: [PATCH 09/11] improved timer calculation; added icon --- common/CountdownTimer.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/common/CountdownTimer.js b/common/CountdownTimer.js index f373b6c..b34b1b3 100644 --- a/common/CountdownTimer.js +++ b/common/CountdownTimer.js @@ -16,11 +16,12 @@ export const listenButton = function() { document.onkeypress = function(e) { if (e.key === "up") { console.log("Key pressed: " + e.key); //just prints to log that button has been pressed + console.log("Countdown started.") startCountdownTimer(); } else { console.log("Key pressed: " + e.key); //just prints to log that button has been pressed - me.exit(); //doesn't exit, need to check how to exit app on down arrow + me.exit(); } } } @@ -28,7 +29,7 @@ export const listenButton = function() { // set naptTime & allow user to start timer with button export const setNapTime = function(t) { napTime = t; - // update + // show nap time on clockface myLabel.text = `${napTime}`; // CONTROL BUTTON listenButton(); @@ -36,7 +37,7 @@ export const setNapTime = function(t) { // start countdown timer export const startCountdownTimer = function() { - napTime++; + let cdTime = napTime + 1; // updates the clock every minute clock.granularity = "minutes"; // start ticking (per minute) the clock @@ -48,7 +49,6 @@ export const startCountdownTimer = function() { vibration.start("ring"); console.log("Fitbit alarm vibrating.") } - updateTimer(napTime); } } From f8da4c9efd5b4ab84837cfa6dbd36301bdc10702 Mon Sep 17 00:00:00 2001 From: Fion Chan Date: Sat, 16 Jun 2018 14:51:48 -0700 Subject: [PATCH 10/11] added icon.png --- resources/icon.png | Bin 0 -> 175195 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 resources/icon.png diff --git a/resources/icon.png b/resources/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..864d5a4b0e781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994D2nYg#DC`75 zKoAhblOX)=hmyn@3={IDl&Lvbwv7AbaeXvF9vp^tgbn6_?W)7exaxaxK02;wrtSqyKz z{BZSWXR+eGbp}gLPIn~e`@kSS+vf#>fFQttf&myuF%DYm*|yeov^NL>f&c>w24Eb; zICX5%P^Q^>H4p>@0R|Kdz&MI=&|1&7wXUPRK@boG7*H?(<0!_dV~d6|&DN`dARq`Z zpkM&TQH+DudbX`~9qkQ*fFQttf&myuF-{#@G?Zz!UJV2RL4W}T12B$a9JJQ6ZLRBQ zZx93o0R|Kdz&MI=>e!;8OtbZBAP5Ko3@8|YaTMdAwVrKjT}OL^ARq`ZpkM&TQH)c^ z77b;ZtycpDAR1c8VCY{00RmJ zU>wCbXsu`4TG!FuAP5Ko3@8|YaTMd!u|-3fX6w~J5D)|yP%r@FD8@l+J=@m0j`jvY zKoDR+!2pb-7^jXc8p&wIc|2}`(^xe1KyYkDw`N=>07T;=7#Q*>R literal 0 HcmV?d00001 From 9ccee904ec8f396fd5e4494c1cb439ba3e33c639 Mon Sep 17 00:00:00 2001 From: Fion Chan Date: Sat, 16 Jun 2018 15:13:02 -0700 Subject: [PATCH 11/11] deleted index.js --- app/index.js | 8 -------- 1 file changed, 8 deletions(-) delete mode 100644 app/index.js diff --git a/app/index.js b/app/index.js deleted file mode 100644 index 3619493..0000000 --- a/app/index.js +++ /dev/null @@ -1,8 +0,0 @@ -import clock from "clock"; -import document from "document"; -import { vibration } from "haptics"; -import { me } from "appbit"; -import * as CDTimer from "../common/CountdownTimer.js"; - -CDTimer.setNapTime('1'); -setInterval(() => {console.log("1 minute has passed.")}, 60000) ; \ No newline at end of file