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:
- 7:f363aea73f45
- Parent:
- 3:9e92f113c671
diff -r 8586f50385d2 -r f363aea73f45 Hexi_KW40Z.h --- a/Hexi_KW40Z.h Tue Sep 20 22:52:28 2016 +0000 +++ b/Hexi_KW40Z.h Sun Sep 25 05:24:24 2016 +0000 @@ -194,9 +194,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);