lol

Dependencies:   MMA8451Q

Fork of Application by Mateusz Kowalik

Committer:
samux
Date:
Sun Oct 14 13:03:13 2012 +0000
Revision:
7:5e693654d5b4
Parent:
6:aef06cd11ce4
Child:
8:90f8322a65f8
use mbed official USBDevice library

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) {
samux 7:5e693654d5b4 8
samux 7:5e693654d5b4 9 while(1)
samux 7:5e693654d5b4 10 {
samux 7:5e693654d5b4 11 serial.printf("I am a virtual serial port\r\n");
samux 7:5e693654d5b4 12 wait(1);
samux 7:5e693654d5b4 13 }
samux 7:5e693654d5b4 14 }