first commit
This commit is contained in:
29
TV_KEYBOARD/TV_KEYBOARD.ino
Executable file
29
TV_KEYBOARD/TV_KEYBOARD.ino
Executable file
@@ -0,0 +1,29 @@
|
||||
#include <TVout.h>
|
||||
#include <fontALL.h>
|
||||
//#include <PS2Keyboard.h>
|
||||
|
||||
const int DataPin = 8;
|
||||
const int IRQpin = 3;
|
||||
|
||||
TVout TV;
|
||||
//PS2Keyboard keyboard;
|
||||
|
||||
void setup() {
|
||||
delay(100);
|
||||
TV.begin(NTSC,184,72);
|
||||
TV.select_font(font6x8);
|
||||
delay(1000);
|
||||
//keyboard.begin(DataPin, IRQpin);
|
||||
TV.println("Keyboard Test:");
|
||||
}
|
||||
|
||||
void loop() {
|
||||
//if (keyboard.available()) {
|
||||
// char c = keyboard.read();
|
||||
//
|
||||
// if (c == PS2_ENTER) {
|
||||
// TV.println();}
|
||||
//
|
||||
// TV.print(c);
|
||||
// }
|
||||
}
|
||||
Reference in New Issue
Block a user