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:
- 9:fc59099597cd
- Parent:
- 4:6a2b306b6b41
- Child:
- 10:3d708495b7a0
diff -r 4c374f1f5df2 -r fc59099597cd main.cpp --- a/main.cpp Fri Jul 25 09:08:11 2014 +0000 +++ b/main.cpp Thu Jul 31 13:40:52 2014 +0000 @@ -6,8 +6,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,