location Puck test code

Dependencies:   Puck mbed

Files at this revision

API Documentation at this revision

Comitter:
sushant
Date:
Tue Oct 14 14:41:19 2014 +0000
Commit message:
location puck code

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
mbed.bld Show annotated file Show diff for this revision Revisions of this file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Puck.lib	Tue Oct 14 14:41:19 2014 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/teams/Nordic-Pucks/code/Puck/#93d3574e9e36
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Tue Oct 14 14:41:19 2014 +0000
@@ -0,0 +1,8 @@
+#include "Puck.h"
+
+Puck *puck = &Puck::getPuck();
+
+int main(void){
+    puck->init(0xBEEF);
+    while(puck->drive());
+}
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Tue Oct 14 14:41:19 2014 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/552587b429a1
\ No newline at end of file