Hexiwear library for communicating with the on-board KW40Z BLE device. KW40Z handles also the touch buttons.
Dependents: Hexi_BLE_Example_Modified Hexi_BLE_Example_ModifiedPOTATO
Fork of Hexi_KW40Z by
Diff: Hexi_KW40Z.h
- Revision:
- 8:2b9b24f3154d
- Parent:
- 6:23323e8aeda4
- Child:
- 9:8058541a8e2d
diff -r 23323e8aeda4 -r 2b9b24f3154d Hexi_KW40Z.h --- a/Hexi_KW40Z.h Sun Sep 25 04:28:52 2016 +0000 +++ b/Hexi_KW40Z.h Sun Sep 25 05:50:22 2016 +0000 @@ -192,9 +192,9 @@ void attach_notifications(notifications_t notFct); void SendBatteryLevel(uint8_t percentage); - void SendAccel(uint8_t x, uint8_t y, uint8_t z); - void SendGyro(uint8_t x, uint8_t y, uint8_t z); - void SendMag(uint8_t x, uint8_t y, uint8_t z); + void SendAccel(int16_t x, int16_t y, int16_t z); + void SendGyro(int16_t x, int16_t y, int16_t z); + void SendMag(int16_t x, int16_t y, int16_t z); void SendAmbientLight(uint8_t percentage); void SendTemperature(uint16_t celsius); void SendHumidity(uint16_t percentage);