Presun starych
[mirrors/Programs.git] / arduino / bomba-ps2test / bomba-ps2test.ino
diff --git a/arduino/bomba-ps2test/bomba-ps2test.ino b/arduino/bomba-ps2test/bomba-ps2test.ino
deleted file mode 100644 (file)
index 57160a3..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-#include <ps2dev.h>
-
-PS2dev keyboard(19, 18); //clock, data
-
-void make_break_kb(byte data)
-{
-// makes and breaks the key
-    keyboard.write(data);
-    delay(50);
-    keyboard.write(0xF0);
-    delay(50);
-    keyboard.write(data);
-    delay(50);
-}
-
-void setup() {
-}
-
-char scancodes[] = {0x45, 0x16, 0x1E, 0x26, 0x25, 0x2E, 0x36, 0x3D, 0x3E, 0x46, 0x7C, 0x7C}; //Scancodes for numbers 0-9, *, #
-
-void loop() {
-  for(int i = 0; i < 11; i++) {
-    make_break_kb(scancodes[i]);
-    delay(1000);
-  }
-}
This page took 0.196521 seconds and 4 git commands to generate.