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 Hexiwear_zeta

Revisions of main.cpp

Revision Date Message Actions
14:c3b080cdf36b 2018-04-11 Added heart rate measurement, simulation, correct leds, and other heart rate improvements. WDT needs messing with to work better with the heart rate measurements.; File  Diff  Annotate
13:37cd579208e9 2018-04-09 v2.12 - Added hidden reset feature (push L-button 9+ times to reset), added line that might put K64 into low pow run mode, added dimming feature, changed humid/temp & battery measurement to a rolling average. Made new screen for panic alert. File  Diff  Annotate
12:fd39a7983e06 2018-03-29 v2.11 - Added Send_Alert(0) to turn off alerts by sending amb_light=0, ; added WDT and added WDT testing screens, changed fall Min_Movement_duration from 60s to 10s, added subtle vibration after impact for diagnostic purposes. File  Diff  Annotate
11:ccda4d44bd8e 2018-03-28 v2.10 - Added BLE pairing code (need to test it), spoofing amb light sensor data for alert status. File  Diff  Annotate
10:eaea844e763c 2018-03-26 Added final fall mode (full sequential fall algorithm), including alert screen and dismiss alert screen. Added FAP (Fall Alert Protection) to main screen. fixed "aggressive Haptic" problem by using a Ticker to turn off Haptic instead of RTOS. File  Diff  Annotate
9:d2e39ee9fedd 2018-03-06 Fixed impact detect functionality, all fall detect parameters are now adjustable, added motion detect function, incorporated new heat index calc, increased font by 20% for time/date. Added SW and power resetting to initialize sensors in known state.; File  Diff  Annotate
8:a5c77b45008d 2018-02-19 This version has BLE screens added, data values refreshed at 2Hz for two screens, fall function variables are adjustable, and other minor improvements. File  Diff  Annotate
7:3d5a8aea0b63 2018-02-14 This version has both the free-fall interrupt (set to 0.5g) and the impact interrupt (set to about 2g) working independently (either one can occur at any time). Also, time and date disp now work but are not adj (defaults to 2/19/18 at 10am). File  Diff  Annotate
6:84e3ba00b995 2018-02-13 added Heat Index II File  Diff  Annotate
5:e1431272be79 2018-02-13 Added Heat Index File  Diff  Annotate
4:0803151bc5e4 2018-02-12 This version has the free-fall detect incorporated into the main code, as well as the battery percentage display on the main screen. File  Diff  Annotate
3:6792c1ba586c 2018-02-08 newest copy File  Diff  Annotate
2:824ed4ae8d52 2018-02-05 Newest version with cleaned up code and more heart rate logic ; ; -Alex File  Diff  Annotate
1:e4b38d6918ba 2018-02-03 Alex's version including heart rate code; File  Diff  Annotate
0:d1d36a3da39b 2017-11-12 This is my first attempt at the menu structure and basic features. File  Diff  Annotate