TVOut with IR feature not working

Hi, i'm trying to make a game using Tvout and to play the game I hope to use IR signals. but whenever I place this in the 'setup' tv will show me no signal. and if I delete it, it will work again(tvout).

Serial.begin(9600);

isn't there any way to solve this? or is it impossible to use it?

thanks.

What does the ability to write to the serial port have to do with using or not using IR signals?

Code? Links to libraries? Hardware?

PaulS:
What does the ability to write to the serial port have to do with using or not using IR signals?

Code? Links to libraries? Hardware?

sorry for the inconvenience. I got it working after deleting this line

'randomSeed(analogRead(0));'

I use it to get the IR signal code

thanks

code<#include <IRremote.h>
#include <IRremoteInt.h>

#include <TVout.h>
#include <fontALL.h>
#include "schematic.h"
#include "TVOlogo.h"
#include "Logo.h"

TVout TV;

int RECV_PIN = 4;
IRrecv irrecv(RECV_PIN);
decode_results results;


void setup() {
  Serial.begin(9600);
  irrecv.enableIRIn(); // Start the receiver
  
  TV.begin(NTSC,120,96);
  TV.select_font(font6x8);
  TV.println("Pad Ball Game");
  TV.println("By Hiran");
  TV.delay(20);
  TV.clear_screen();
  
  //randomSeed(analogRead(0));
}

void loop() 
{
    
    
  for(int x = 0; x<96; x++)
  {
  TV.clear_screen();  
  TV.draw_line(x,60,10+x,60, WHITE);
  TV.delay(50);
  }
  
  for(int x = 96; x >0; x--)
  {
  TV.clear_screen();  
  TV.draw_line(x,60,10+x,60, WHITE);
  TV.delay(50);
  }
  
  if (irrecv.decode(&results))
    {
     Serial.println(results.value, HEX);
     irrecv.resume(); // Receive the next value
    }
  
}>

can someone help me. I attached my IR library in the post

IR.zip (113 KB)

That is NOT the way to post your code.
Use the Quick Edit link to the lower right of the screen select Modify, and update the post to use code tags (</>).

The code does something. What does the code do?
You expect it to do something different? What does it not do that you want, or do that you don't want?

PaulS:
The code does something. What does the code do?
You expect it to do something different? What does it not do that you want, or do that you don't want?

I'm trying to move a line using the IR signals that will be sent by a remote. I was trying to test it. but whenever I put this,

if (irrecv.decode(&results))
   {
    Serial.println(results.value, HEX);
    irrecv.resume(); // Receive the next value
}

it will not work and the TV will give me 'No Signal' error