document.write('
Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. #include <TVout.h>
  2. #include <pollserial.h>
  3. #include <fontALL.h>
  4.  
  5. TVout TV;
  6. pollserial pserial;
  7.  
  8. void setup() {
  9. TV.begin(_NTSC,184,72);
  10. TV.select_font(font6x8);
  11. TV.println("Serial Terminal");
  12. TV.println("-- Version 0.1 --");
  13. TV.set_hbi_hook(pserial.begin(57600));
  14. }
  15.  
  16. void loop() {
  17. if (pserial.available()) {
  18. TV.print((char)pserial.read());
  19. }
  20. }
');