Hi all
Downloaded the TVout lib from here http://code.google.com/p/arduino-tvout/, did the whole installation thing and the IDE picks it up.
The problem I'm having is with the supplied example for the serial terminal:
#include <TVout.h>
#include <pollserial.h>
#include <fontALL.h>
TVout TV;
pollserial pserial;
void setup() {
TV.begin(_PAL,128,96);
TV.select_font(font6x8);
TV.println("Serial Terminal");
TV.println("-- Version 1.0 --");
TV.set_hbi_hook(pserial.begin(57600));
}
void loop() {
if (pserial.available()) {
TV.print((char)pserial.read());
}
}
When trying to compile, this is what I get:
In file included from TVoutTerminal.ino:4:
..\arduino-1.0.5\libraries\pollserial/pollserial.h:46: error: conflicting return type specified for 'virtual void pollserial::write(uint8_t)'
..\arduino-1.0.5\hardware\arduino\cores\arduino/Print.h:48: error: overriding 'virtual size_t Print::write(uint8_t)'
..\arduino-1.0.5\libraries\TVout/video_gen.h:63: warning: 'void wait_until(uint8_t)' declared 'static' but never defined
..\arduino-1.0.5\libraries\TVout/TVout.h:176: warning: 'void sp(unsigned char, unsigned char, char)' declared 'static' but never defined
Can anyone shed some light on these errors and warnings?
Thank you.