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.
Diff: main.cpp
- Revision:
 - 2:086eed11a40b
 - Parent:
 - 1:95977a39e8f2
 - Child:
 - 3:20c91507bab6
 
--- a/main.cpp	Tue Dec 14 00:17:41 2010 +0000
+++ b/main.cpp	Wed Dec 15 00:03:00 2010 +0000
@@ -1,31 +1,19 @@
 #include "mbed.h"
 
 #include "DogM162.h"
-#include "PS2Keyboard.h"
 
-PS2Keyboard ps2kb(p6, p5); // CLK, DAT
-//DogM162 display(p11,p13,p14,p15);
 DogM162 display(p22, p23, p24, p25, p19, p18, p20, p21);
-Serial pc(USBTX, USBRX);
 
 
 int main() {
-    pc.printf("Start...");
+    display.WriteCharacter('c');
     display.WriteString("Hallo");
     wait(2);
     display.Clear();
     display.WriteString("Hallo22", 2 , DogM162::LINE_2);
     
-    PS2Keyboard::keyboard_event_t evt_kb;
-
     while (1) {
-        if (ps2kb.processing(&evt_kb)) {
-            pc.printf("[%d]:", evt_kb.type);
-            for (int i = 0; i < evt_kb.length; i++) {
-                pc.printf("%02x ", evt_kb.scancode[i]);
-            }
-            pc.printf("\n");
-       }
+       
     }
 
 }