All work and no play...

with Arduino and TVout

So I've been playing with Arduino and the TVout library... fun, fun, fun!

#include <TVout.h>
#include <TVoutfonts/fontALL.h>
#include "TVOlogo.h"

TVout TV;

void setup(){
  TV.begin(_PAL); // for PAL system
  TV.clear_screen();
}

void loop(){
  TV.select_font(font4x6);

  TV.set_cursor(0,0);
  TV.print("All work");

  TV.set_cursor(0,7);
  TV.print("and no play");

  TV.set_cursor(0,14);
  TV.print("makes Jack a dull boy...");

  TV.bitmap(0,21,TVOlogo);
}

Refs.:

Happy hacking!

Palavras chave/keywords: Arduino, TVout

Criado/Created: 14-07-2016 [15:04]

Última actualização/Last updated: 10-10-2022 [14:26]


Voltar à página inicial.


GNU/Emacs Creative Commons License

(c) Tiago Charters de Azevedo