The Location Puck gives your smartphone context about its location. Built on the Puck IOT platform.
The location puck will give your smartphone context about the phone’s location. You can later set up rules for what should happen at different locations in the smartphone companion application (Puck Central).
A tutorial for the Location Puck is available on GitHub.
Tutorials and in-depth documentation for the Puck platform is available at the project's GitHub page
Revision 13:0f04dc5f14af, committed 2015-03-09
- Comitter:
- aleksanb
- Date:
- Mon Mar 09 14:14:34 2015 +0000
- Parent:
- 12:270d2160cc13
- Commit message:
- Use newest puck lib, add power usage warning;
Changed in this revision
Puck.lib | Show annotated file Show diff for this revision Revisions of this file |
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 270d2160cc13 -r 0f04dc5f14af Puck.lib --- a/Puck.lib Fri Feb 27 18:14:35 2015 +0000 +++ b/Puck.lib Mon Mar 09 14:14:34 2015 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/teams/Nordic-Pucks/code/Puck/#bfc682889c15 +http://mbed.org/teams/Nordic-Pucks/code/Puck/#cd6703df9501
diff -r 270d2160cc13 -r 0f04dc5f14af main.cpp --- a/main.cpp Fri Feb 27 18:14:35 2015 +0000 +++ b/main.cpp Mon Mar 09 14:14:34 2015 +0000 @@ -14,12 +14,12 @@ * limitations under the License */ +// Remove the log level define in production. It will prevent your mbed from entering low power modes. #define LOG_LEVEL_INFO #include "Puck.h" Puck* puck = &Puck::getPuck(); - int main(void) { puck->init(0xBA55); while(puck->drive());