first commit
This commit is contained in:
24
TV_SERIAL/TV_SERIAL.ino
Executable file
24
TV_SERIAL/TV_SERIAL.ino
Executable file
@@ -0,0 +1,24 @@
|
||||
|
||||
#include <TVout.h>
|
||||
#include <pollserial.h>
|
||||
#include <fontALL.h>
|
||||
|
||||
TVout TV;
|
||||
pollserial pserial;
|
||||
|
||||
void setup() {
|
||||
TV.begin(_NTSC,184,72);
|
||||
TV.select_font(font6x8);
|
||||
TV.println("Serial Terminal");
|
||||
TV.println("-- Version 0.1 --");
|
||||
//TV.set_hbi_hook(pserial.begin(57600));
|
||||
pserial.begin(57600);
|
||||
}
|
||||
|
||||
void loop() {
|
||||
if (pserial.available()) {
|
||||
TV.print((char)pserial.read());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user