#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()); } }
Wiki: EXsketches
Wiki: TableOfContents
View and moderate all "wiki Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Wiki"
Originally posted by: graysone...@gmail.com
Can we get more documentation on how this pserial stuff works?
View and moderate all "wiki Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Wiki"
Originally posted by: shobha23...@gmail.com
i personally think there is some problem with this code...its not working...someone please correct the code...this code doesn't give the required output,it would be very helpful if some one correct this code
View and moderate all "wiki Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Wiki"
Originally posted by: marcelve...@gmail.com
This demo works. However there is a bug in pollserial. The malloc there that allocates the buffer must be removed. And then the buffer must be statically allocated (static unsigned char buffer[BUFFER_SIZE+1]). If you don't do this you will see garbage on the serial port after a while.
View and moderate all "wiki Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Wiki"
Originally posted by: blandfo...@gmail.com
"rxbuffer.buffer = (unsigned char)malloc(BUFFER_SIZE*sizeof(unsigned char));" What do I have to do to this line to change it from a malloc to the static unsigned char?
View and moderate all "wiki Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Wiki"
Originally posted by: winhelp3...@gmail.com
It don't work for me. The compiling log say: " C:\Tools\Arduino\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega2560 -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=105 -IC:\Tools\Arduino\hardware\arduino\cores\arduino -IC:\Tools\Arduino\hardware\arduino\variants\mega C:\Users\Paul\AppData?\Local\Temp\build953338783501734976.tmp\NTSCserialTerm.cpp -o C:\Users\Paul\AppData?\Local\Temp\build953338783501734976.tmp\NTSCserialTerm.cpp.o NTSCserialTerm.pde:1:19: warning: TVout.h: No such file or directory NTSCserialTerm.pde:2:24: warning: pollserial.h: No such file or directory NTSCserialTerm.pde:3:21: warning: fontALL.h: No such file or directory 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 " If somebody have help contact me! _
View and moderate all "wiki Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Wiki"
Originally posted by: tony...@gmail.com
The solution for this can be found on this link
https://code.google.com/p/arduino-tvout/issues/detail?id=50
View and moderate all "wiki Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Wiki"
Originally posted by: regfport...@gmail.com
how do I go about adjusting the offset ive been playing with the numbers and im getting nowhere. :/ Ive come across little tutorials that touch on it if at all and i seam to have lost the website link that explained it indepth.. any suggestions?