Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #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));
- }
- void loop() {
- if (pserial.available()) {
- TV.print((char)pserial.read());
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement