Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of USBKeyboard_HelloWorld by
main.cpp
00001 #include "mbed.h" 00002 #include "USBKeyboard.h" 00003 00004 //LED1: NUM_LOCK 00005 //LED2: CAPS_LOCK 00006 //LED3: SCROLL_LOCK 00007 BusOut leds(LED1, LED2, LED3); 00008 00009 //USBKeyboard 00010 USBKeyboard keyboard; 00011 00012 int main(void) { 00013 while (1) { 00014 keyboard.printf("abc\r\n"); 00015 wait(1); 00016 } 00017 }
Generated on Sat Jul 16 2022 01:46:32 by
1.7.2
