Code for the Hexiwear sensor system. Requires an Air Quality Click, Carbon Monoxide Click, and Buzzer Click for full functionality. Currently only reads values and displays to the OLED while testing and alerting the user of present threats. Future goals are to incorporate button presses with separate screens to display the data as well as using the KW40 drivers to transmit the data. Still in early stages of development, many unnecessary files will be removed and cleaned up once final product is completed within the next month. Driver.cpp is the main driver for the program and was written for purposes of this project. All other headers and functions were found on mbed.org from other developers repositories or provided by NXP Semiconductors for purposes of this project.

Dependencies:   Hexi_KW40Z images

Committer:
Gfolker
Date:
Fri Apr 28 07:26:16 2017 +0000
Revision:
3:24b332b8e41d
Parent:
0:f70b1d60f794
Final version of the project - BLE integrated, code cleaned up, ARC calculation implemented, all user interface screens/button presses implemented, alert states tested and verified

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Gfolker 0:f70b1d60f794 1 /** OpenSans Font
Gfolker 0:f70b1d60f794 2 * This file contains the Hexiwear optimized OpenSans font.
Gfolker 0:f70b1d60f794 3 *
Gfolker 0:f70b1d60f794 4 * For more information
Gfolker 0:f70b1d60f794 5 * visit: https://github.com/google/fonts/tree/master/apache/opensans
Gfolker 0:f70b1d60f794 6 *
Gfolker 0:f70b1d60f794 7 * Font converted with MicroElektronika's Hexiwear Resource Collection Tool
Gfolker 0:f70b1d60f794 8 * visit: https://github.com/MikroElektronika/HEXIWEAR/tree/master/SW/ResourceCollectionTool
Gfolker 0:f70b1d60f794 9 */
Gfolker 0:f70b1d60f794 10
Gfolker 0:f70b1d60f794 11 #ifndef HG_OPENSANS_FONT
Gfolker 0:f70b1d60f794 12 #define HG_OPENSANS_FONT
Gfolker 0:f70b1d60f794 13
Gfolker 0:f70b1d60f794 14 #include <stdint.h>
Gfolker 0:f70b1d60f794 15
Gfolker 0:f70b1d60f794 16 /** Max Width of Character = 12px
Gfolker 0:f70b1d60f794 17 * Max Height of Character = 18px */
Gfolker 0:f70b1d60f794 18 extern const uint8_t OpenSans_12x18_Regular[];
Gfolker 0:f70b1d60f794 19
Gfolker 0:f70b1d60f794 20 /** Max Width of Character = 10px
Gfolker 0:f70b1d60f794 21 * Max Height of Character = 15px */
Gfolker 0:f70b1d60f794 22 extern const uint8_t OpenSans_10x15_Regular[];
Gfolker 0:f70b1d60f794 23
Gfolker 0:f70b1d60f794 24 #endif
Gfolker 0:f70b1d60f794 25