the right input source. Usually its name is AV or Composite. When in doubt,
try all of them.
Then check whether you’ve swapped the resistors. Connect the 470Ω resistor
to pin D7 and the 1kΩ resistor to D9. Also, make sure the resistors have the
right values.
If you see a distorted video signal, make sure you haven’t accidentally used
NTSC instead of PAL or vice versa. Also, check all solder joints on the modified
RCA cable. When in doubt, add more solder.
Exercises
• Use the TVout library to visualize some other sensor’s data. You can try
to build the parking-distance control from Chapter 5, Sensing the World
Around Us, on page 77, using the
TVout
library.
• Modify the TV thermometer so that it switches between degrees Celsius
and degrees Fahrenheit every few seconds. Don’t just change the text;
change the graphics, too.
Chapter 8. Generating Video Signals with an Arduino • 144
report erratum • discuss
www.it-ebooks.info