h

Dependencies:   MMA7660 USBDevice mbed

Fork of lecture2_demo2 by Colin Johnson

main.cpp

Committer:
samux
Date:
2011-11-03
Revision:
0:c1db4aaad050
Child:
1:291a88a2c151

File content as of revision 0:c1db4aaad050:

#include "mbed.h"
#include "USBKeyboard.h"

USBKeyboard keyboard;

int main(void) {
    while (1) {
        keyboard.mediaControl(KEY_VOLUME_DOWN);
        keyboard.printf("Hello World from Mbed\r\n");
        wait(1);
    }
}