Badger

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
thomasmorris
Date:
Sun Oct 15 15:14:14 2017 +0000
Commit message:
badger;

Changed in this revision

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
diff -r 000000000000 -r 32d2061dd66d main.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Sun Oct 15 15:14:14 2017 +0000
@@ -0,0 +1,16 @@
+#include "mbed.h"
+
+Serial pc(USBTX,USBRX);
+Ticker Mushroom;
+
+void Mushroom_Print(){
+    printf("Mushroom Mushroom ");
+}
+
+int main() {
+    Mushroom.attach(&Mushroom_Print,2);   
+    pc.baud(9600);
+    while(1) {
+        printf("Badger Badger Badger Badger Badger Badger Badger Badger Badger Badger Badger Badger Badger Badger");
+    }
+}
\ No newline at end of file
diff -r 000000000000 -r 32d2061dd66d mbed.bld
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Sun Oct 15 15:14:14 2017 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/675da3299148
\ No newline at end of file