Rotate the Cube Puck to invoke actions on your smartphone. Built on the Puck IOT platform.
Dependencies: Puck MPU6050 mbed
The Cube Puck is an innovative bluetooth-enabled remote control device. It is a six-sided cube that can be rotated to any of its sides to invoke actions linked to that side. The cube puck is completely customizable and therefore also quite versatile.
A tutorial for the Cube Puck is available on GitHub.
Tutorials and in-depth documentation for the Puck platform is available at the project's GitHub page
Diff: main.cpp
- Revision:
- 10:3d708495b7a0
- Parent:
- 7:4244572015c6
- Parent:
- 9:fc59099597cd
--- a/main.cpp Fri Feb 27 18:56:30 2015 +0000 +++ b/main.cpp Fri Feb 27 18:59:33 2015 +0000 @@ -21,8 +21,8 @@ Puck* puck = &Puck::getPuck(); -const UUID CUBE_SERVICE_UUID = UUID(stringToUUID("bftj cube ")); -const UUID DIRECTION_UUID = UUID(stringToUUID("bftj cube dirctn")); +const UUID CUBE_SERVICE_UUID = stringToUUID("bftj cube "); +const UUID DIRECTION_UUID = stringToUUID("bftj cube dirctn"); enum Direction { UP,