#include #include #include TVout TV; // Pin 13 has an LED connected on most Arduino boards. // give it a name: int led = 13; // the setup routine runs once when you press reset: void setup() { TV.begin(_PAL); // TV.select_font(font6x8); // initialize the digital pin as an output for blinking the LED. pinMode(led, OUTPUT); } // the loop routine runs over and over again forever: void loop () { digitalWrite(led, HIGH); // turn the LED on (HIGH is the voltage level) TV.clear_screen (); TV.print( 1, 4, "TVout FTW!!!" ); //TVout software for the World! TV.delay (6000); TV.tone(480,500); // Play a 480 tone for half second delay(500); // wait for a half second TV.print (30, 60, "Wait one Second" ); digitalWrite(led, LOW); // turn the LED off by making the voltage LOW TV.tone(440,500); // Play a 480 tone for half second delay(500); TV.draw_rect(20,20,105,56,WHITE); //draw a white rectangle delay(1500); // wait for two seconds }