Hexiwear library for communicating with the on-board KW40Z BLE device. KW40Z handles also the touch buttons.
Dependents: Hexi_Buttons_Example Hexi_Click_Relay-v2_Example Hexi_Click_Relay-v3_Example Hexi_Catch-the-dot_Game ... more
Diff: Hexi_KW40Z.h
- Revision:
- 11:a9a838035b87
- Parent:
- 9:8058541a8e2d
- Child:
- 12:3f5ed7abc5c7
--- a/Hexi_KW40Z.h Mon Sep 26 02:36:12 2016 +0000 +++ b/Hexi_KW40Z.h Mon Sep 26 04:56:27 2016 +0000 @@ -39,7 +39,8 @@ #include "mbed.h" #include "rtos.h" -#define LIB_DEBUG 1 +//#define LIB_DEBUG 1 +//#define RAW_DEBUG 1 #define gHostInterface_startByte1 0x55 #define gHostInterface_startByte2 0xAA @@ -219,7 +220,7 @@ uint32_t GetPassKey(void); private: -#if defined (LIB_DEBUG) +#if defined (LIB_DEBUG) || defined (RAW_DEBUG) RawSerial pc; #endif