poll-serial implementation with video experimenter

Store Forums Video Experimenter Bugs/Problems poll-serial implementation with video experimenter

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #501
    shobhabhat
    Member

    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 ?

    #885
    Michael
    Keymaster

    You can’t use the Serial library when using TVout. Use pollserial to write to the serial monitor program on your computer.

    This is a limitation of the TVout library, not the Video Experimenter.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.