i’m using arduino uno and video experimenter shield for my project. i want to display the values in the serial monitor to tv.
i have made use of example program provided by this website for poll serial implementation . my program is below
#include
#include
#include
TVout TV;
pollserial pserial;
void setup() {
TV.begin(_NTSC,184,72);
TV.select_font(font6x8);
TV.println(“Serial Terminal”);
TV.println(“– Version 0.1 –“);
TV.set_hbi_hook(pserial.begin(57600));
}
void loop() {
Serial.write(45);
if (pserial.available()) {
TV.print((char)pserial.read());
}
}
i’m expecting 45 to be printed but i’m getting garbage values in my serial monitor…i’m new to this programming….i know there is something wrong with my code, could anyone please help me out ?