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.
main.cpp
00001 #include "mbed.h" 00002 #include "PS2ASCII.h" 00003 00004 PS2ASCII myKeyboard(p28, p26); 00005 DigitalOut LED(LED1); 00006 00007 int main() { 00008 while (1) { 00009 unsigned char symbol = myKeyboard.getChar(); 00010 if(myKeyboard.E0flag() == true) { //is the make code one or two bytes long? 00011 printf(" E0 "); 00012 } 00013 printf("%c", symbol); 00014 } 00015 }
Generated on Fri Jul 15 2022 08:05:20 by
1.7.2