The HexiHeart is a demo project product that takes advantage of many of the onboard Hexiwear sensors and capabilities to create a multifunctional fitness and safety watch.
Dependencies: FXAS21002 FXOS8700 Hexi_KW40Z Hexi_OLED_SSD1351 MAXIM W25Q64FVSSIG HTU21D MPL3115A2 TSL2561
Fork of HexiHeart_Alex by
Diff: main.cpp
- Revision:
- 3:6792c1ba586c
- Parent:
- 2:824ed4ae8d52
- Child:
- 4:0803151bc5e4
diff -r 824ed4ae8d52 -r 6792c1ba586c main.cpp --- a/main.cpp Mon Feb 05 16:14:13 2018 +0000 +++ b/main.cpp Thu Feb 08 03:25:01 2018 +0000 @@ -1527,9 +1527,10 @@ BLU_Led = LED_OFF; RED_Led = LED_ON; GRN_Led = LED_ON; - //wait(0.5); - //RED_Led = LED_OFF; - //GRN_Led = LED_OFF; + + wait(0.5); + RED_Led = LED_OFF; + GRN_Led = LED_OFF; } else if(Current_Zone == 2) { @@ -1543,8 +1544,8 @@ GRN_Led = LED_OFF; } BLU_Led = LED_ON; - //wait(0.5); - //BLU_Led = LED_OFF; + wait(0.5); + BLU_Led = LED_OFF; } else if(Current_Zone == 3) { @@ -1557,15 +1558,15 @@ RED_Led = LED_OFF; } GRN_Led = LED_ON; - //wait(0.5); - //GRN_Led = LED_OFF; + wait(0.5); + GRN_Led = LED_OFF; } else if(Current_Zone == 4) { GRN_Led = LED_OFF; RED_Led = LED_ON; - //wait(0.5); - //RED_Led = LED_OFF; + wait(0.5); + RED_Led = LED_OFF; } }