Test out DigitalOut on Teensy 3.1

Dependencies:   mbed USBDevice

Revision:
1:e452bc59d245
Parent:
0:8495741fab9c
--- a/main.cpp	Sat Jul 25 10:29:43 2015 +0000
+++ b/main.cpp	Sun Jul 26 01:40:06 2015 +0000
@@ -1,11 +1,17 @@
-#include "mbed.h"
+// MBED_BLINKY with Teensy 3.1 
+
+// You need to update the latest USBDevice library
 
-// MBED_BLINKY with Teensy 3.1 
-// LED2, LED3, LED3, LED4, LED_RED, LED_GREEN, LED_BLUE, PTC5 are the same 
-DigitalOut myled(LED1); 
+#include "mbed.h"
+#include "USBSerial.h"
+
+DigitalOut myled(LED1); // Onboard LED
+USBSerial  pc;          // Virtual serial port over USB
+ 
  
 int main() {
     while(1) {
+        pc.printf("Hello World\r\n");
         myled = 1;
         wait(0.2);
         myled = 0;