Go Down

Topic: TVout + Serial Advice. (Read 501 times) previous topic - next topic

Hi, has anyone had success with the TVoutBeta1.zip library, and the example sketch NTSCserialTerm.pde??????  :~

I am attempting to use the Arduino to output a value to a small 7" monitor using a coaxial RCA cable.

I am able to use the simple DemoNTSC.pde correctly > the code runs fine, and displays on screen.

When I try to verify NTSCserialTerm.pde, I get errors:

NTSCserialTerm:5: error: 'TVout' does not name a type
NTSCserialTerm:6: error: 'pollserial' does not name a type
NTSCserialTerm.pde: In function 'void setup()':
NTSCserialTerm:9: error: 'TV' was not declared in this scope
NTSCserialTerm:9: error: '_NTSC' was not declared in this scope
NTSCserialTerm:10: error: 'font6x8' was not declared in this scope
NTSCserialTerm:13: error: 'pserial' was not declared in this scope
NTSCserialTerm.pde: In function 'void loop()':
NTSCserialTerm:17: error: 'pserial' was not declared in this scope
NTSCserialTerm:18: error: 'TV' was not declared in this scope

Code:
Code: [Select]
#include <TVout.h>
#include <pollserial.h>
#include <fontALL.h>

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() {
  if (pserial.available()) {
    TV.print((char)pserial.read());
  }
}


If anyone can help this would be really kind.  :)

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy