TV out gives weird errors. IDE broken???

Ok this is just unbelievable. I download a demo and it just won't compile. I can compile the other TVout demo's except for this one.

#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());
  }
}

Gives me:

NTSCserialTerm.pde:-1: error: 'pollserial' does not name a type
NTSCserialTerm.cpp: In function 'void setup()':
NTSCserialTerm.pde:-1: error: 'pserial' was not declared in this scope
NTSCserialTerm.cpp: In function 'void loop()':
NTSCserialTerm.pde:-1: error: 'pserial' was not declared in this scope

Have you got the "pollserial" library?
It isn't one I recognise.

I download a demo

Last time I checked, there were at least a dozen places (tongue firmly in cheek) you could have downloaded the demo from.

Give us a clue which one of those places you got the demo from.

The usual problems are that you didn't include all the error messages (the one that says pollserial.h couldn't be found) or that you are using a non-Microslop operating system where case matters.

Or, it is a crappy example...

I thought poll serial was for the video experimenter shield.

I couldn't get it to work either, so I asked Mr Nootropic!

You need the TVout, PollSerial and TVoutfonts in your library folder.

Then it will work.

Well I downloaded the library here:Google Code Archive - Long-term storage for Google Code Project Hosting.
I got everything in my tv out folder

Edit: tone(frequency); Doesn't work either :S

Edit: tone(frequency); Doesn't work either :S

Meaning what, exactly?

dxw00d:

Edit: tone(frequency); Doesn't work either :S

Meaning what, exactly?

Well it has to produce oscillation on pin 11.

Well it has to produce oscillation on pin 11.

In what context? I have had tone() working with no problems.

this almost worked.minus the

"error: conflicting return type specified for 'virtual void pollserial::write(uint8_t)'
virtual void write(uint8_t);"

#include <TVout.h>
#include <pollserial/pollserial.h>
#include <TVoutfonts/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());
  }
}

this almost worked.minus the

"error: conflicting return type specified for 'virtual void pollserial::write(uint8_t)'
virtual void write(uint8_t);"

If you are going to resurrect a thread that has seen no action for 5 years, you could have at least googled that error message first.

There is an updated pollserial in this thread