My wife is taking a short business trip this week, and to score points, I imported the tv_out library and connected up the output resistors into a plug for a broken portable DVD player, which accepts NTSC video in, but disk transport is shot. Happily it also runs on 9v, so I can run the whole rig from one adapter. For the circuit, you simply need a 330 ohm resistor from d8 and 1k ohm resistor from d9- connect both of them to the center conductor, and the shell to ground, for most connectors to video displays. For specific info, I'd recommend reading up on the actual library. VERY nice, if a tiny bit twitchy
![]()
In any case, left it running for her to find when she gets up in the morning... a cute sendoff that she'll get a kick out of and brag up to her office friends...I know what side my bread is buttered on!! The whole thing takes all of five minutes to rig up- score some spouse points (just remember to substitute your OWN NAME at least...)
Laugh all you want.. I'll get the payoff for the corniness of it...
![]()
#include <TVout.h>
TVout TV;
void setup() {
TV.start_render(_NTSC,128,96);
}
void loop() {
TV.clear_screen();
TV.print_str(0,0," Hi Honey! ");
TV.print_str(0,16," I just wanted to ");
TV.print_str(0,32,"Say that I Love You");
TV.print_str(0,48," and that I'll miss");
TV.print_str(0,64," you! ");
TV.delay_frame(360);
TV.clear_screen();
TV.print_str(0,0," MWAH!!!");
TV.print_str(0,16," (Smooches)...");
TV.print_str(0,32," (Snuggles)...");
TV.delay_frame(180);
TV.clear_screen();
TV.print_str(0,0," I Love You!");
TV.print_str(0,16," @@@ @@@ ");
TV.print_str(0,24," @@@@@ @@@@@ ");
TV.print_str(0,32," @@@@@@@@@ ");
TV.print_str(0,40," @@@@@@@ ");
TV.print_str(0,48," @@@@@ ");
TV.print_str(0,56," @@@");
TV.print_str(0,64," @ ");
TV.print_str(0,80," Love, Paul");
TV.delay_frame(360);
}
Nite guys!