miniBLIP usb serial hello world

Dependencies:   USBDevice mbed

Fork of USBSerial_HelloWorld by Samuel Mokrani

Committer:
pighixxx
Date:
Sun Nov 29 11:51:13 2015 +0000
Revision:
10:dc64a826c87b
Parent:
9:d88699a0905a
Child:
11:4d863ea0d088
miniBLIP usb serial hello world

Who changed what in which revision?

UserRevisionLine numberNew contents of line
samux 7:5e693654d5b4 1 #include "mbed.h"
samux 7:5e693654d5b4 2 #include "USBSerial.h"
samux 7:5e693654d5b4 3
samux 7:5e693654d5b4 4 //Virtual serial port over USB
samux 7:5e693654d5b4 5 USBSerial serial;
samux 7:5e693654d5b4 6
samux 7:5e693654d5b4 7 int main(void) {
pighixxx 10:dc64a826c87b 8 serial.printf("miniBlip\r\n");
samux 7:5e693654d5b4 9 while(1)
samux 7:5e693654d5b4 10 {
pighixxx 10:dc64a826c87b 11 serial.printf("Hello World\r\n");
samux 9:d88699a0905a 12 wait(1);
samux 7:5e693654d5b4 13 }
samux 7:5e693654d5b4 14 }