tom dunigan / Mbed 2 deprecated teensy_adc

Dependencies:   USBDevice mbed

Fork of Teensy_MBED_BLINKY by HM Yoong

Files at this revision

API Documentation at this revision

Comitter:
yoonghm
Date:
Sat Jul 25 10:29:43 2015 +0000
Child:
1:e452bc59d245
Commit message:
MBED_BLINKY for Teensy 3.1

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
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Sat Jul 25 10:29:43 2015 +0000
@@ -0,0 +1,14 @@
+#include "mbed.h"
+
+// MBED_BLINKY with Teensy 3.1 
+// LED2, LED3, LED3, LED4, LED_RED, LED_GREEN, LED_BLUE, PTC5 are the same 
+DigitalOut myled(LED1); 
+ 
+int main() {
+    while(1) {
+        myled = 1;
+        wait(0.2);
+        myled = 0;
+        wait(0.2);
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Sat Jul 25 10:29:43 2015 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/bad568076d81
\ No newline at end of file