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:
- 7:f363aea73f45
- Parent:
- 3:9e92f113c671
--- 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);