Arduino TVout Alignment help.

Hello, this is my first time posting here and I have only just started coding recently so go easy on me haha!
I am trying to write a code for a project I'm starting, the first thing I need to do is to get the TVout library working to display what I need.

I have started with this test code (along with some other ones just using functions like fill or draw rectangle) to see how things fit on the screen. its short but this is it:

#include <TVout.h>
#include <video_gen.h>

TVout TV;

void setup() {
TV.begin(PAL);

}

void loop() {
TV.draw_line(0,0,128,0,WHITE);

}

by plotting for 0,0 I would expect that it would start from the top left but it only starts a fair bit lower than the top of my screen and doesn't go the full horizontal distance of my screen. Also when using the fill function instead of the draw line one, the screen is barely filled with gaps on each side of the display.
Another note worthy thing to mention is that when using the example PAL test (I'm using a PAL screen) it seems certain pixels on the text are going further across the screen, to parts my code does not.

I'm using an Arduino Uno R3.

Sorry if this was long, I can't find much help online, I have tried one solution on another post on this forum but it didn't work for me.
Thanks,
Dan

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.