my first puck

Dependencies:   Puck mbed

Files at this revision

API Documentation at this revision

Comitter:
dludowise
Date:
Mon Jan 12 22:16:41 2015 +0000
Commit message:
My first puck

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	Mon Jan 12 22:16:41 2015 +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	Mon Jan 12 22:16:41 2015 +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	Mon Jan 12 22:16:41 2015 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/4fc01daae5a5
\ No newline at end of file