Code Monkey home page Code Monkey logo

arduino-tvout's People

arduino-tvout's Issues

I can't compile the example

Hello,

I was try to compile the demo program for PAL in Example folder and i get the 
bellow error:

C:\arduino-0018\arduino-0018\libraries\TVout\TVout.cpp: In member function 
'void TVout::render_setup(uint8_t)':

C:\arduino-0018\arduino-0018\libraries\TVout\TVout.cpp:729: error: '_VID_DDR' 
was not declared in this scope

C:\arduino-0018\arduino-0018\libraries\TVout\TVout.cpp:729: error: '_VID_PIN' 
was not declared in this scope

C:\arduino-0018\arduino-0018\libraries\TVout\TVout.cpp:730: error: '_SYNC_DDR' 
was not declared in this scope

C:\arduino-0018\arduino-0018\libraries\TVout\TVout.cpp:730: error: '_SYNC_PIN' 
was not declared in this scope

C:\arduino-0018\arduino-0018\libraries\TVout\TVout.cpp:731: error: '_VID_PORT' 
was not declared in this scope

C:\arduino-0018\arduino-0018\libraries\TVout\TVout.cpp:732: error: '_SYNC_PORT' 
was not declared in this scope

The version i was try it was the TVout_R5.9

Can you please help me to fix this problem, I use ATMega 168.

Thank you in Advance.

Best Regards,
Tasos



Original issue reported on code.google.com by [email protected] on 17 Jun 2010 at 12:21

Improvement Request: add VBI hook capability

I'd like TVout to have the ability to call a hook during the vertical blanking 
interval.  I am using this capability to communicate with an I2C device.

Example implementation

TVout.h:
// declaration of set_vbi_hook function
void set_vbi_hook(void (*func)());

TVout.cpp:
// implementation of set_vbi_hook
void TVout::set_vbi_hook(void (*func)()) {
  vbi_hook = func;
}

video_gen.h:
// extern declaration of vbi_hook function pointer
extern void (*vbi_hook)();

video_gen.cpp:
// declaration of vbi_hook function pointer and invocation of function at 
beginning of VBI
void (*vbi_hook)();

// in active_line()...
    if ((display.scanLine + 1) == display.stop_render) {
        line_handler = &blank_line;
        if (vbi_hook != 0) {
          vbi_hook();
        }
    }


Let me know if you have any questions; this should be pretty self explanatory 
for you.


Original issue reported on code.google.com by [email protected] on 15 Oct 2010 at 9:02

TVout/pollserial.cpp:43:6: error: #elif with no expression

Hi,

I'm trying to compile the latest hg source but I have these errors :

$ /usr/bin/avr-g++ -c -mmcu=atmega328p -I. -DF_CPU=16000000  
-Iarduino/hardware/arduino/cores/arduino -Iarduino/hardware/libraries/ -ITVout 
-Os TVout/pollserial.cpp -o TVout/pollserial.o 
TVout/pollserial.cpp:43:6: error: #elif with no expression
TVout/pollserial.cpp:78:6: error: #elif with no expression
TVout/pollserial.cpp:86:6: error: #elif with no expression
TVout/pollserial.cpp:96:6: error: #elif with no expression
TVout/pollserial.cpp:135:6: error: #elif with no expression

I fixed that using "else" instead of "elif".

$ /usr/bin/avr-g++ -v
Using built-in specs.
COLLECT_GCC=/usr/bin/avr-g++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/avr/4.5.1/lto-wrapper
Target: avr
Configured with: ../configure --disable-libssp --disable-nls 
--enable-languages=c,c++ --infodir=/usr/share/info --libdir=/usr/lib 
--libexecdir=/usr/lib --mandir=/usr/share/man --prefix=/usr --target=avr 
--with-gnu-as --with-gnu-ld --with-as=/usr/bin/avr-as --with-ld=/usr/bin/avr-ld
Thread model: single
gcc version 4.5.1 (GCC) 

Original issue reported on code.google.com by [email protected] on 28 Oct 2010 at 12:45

  • Merged into: #17

Improvement: Fix vertical sync pulses

Currently the Vertical Sync works by simply extending the time that the sync 
line is held low.  This does not follow the NTSC or PAL spec; fixing this will 
result in higher compatibility with more devices.


Original issue reported on code.google.com by [email protected] on 15 Oct 2010 at 11:29

Improvement: Add rtttl player

rtttl(song)
play a RingTone Text Transfer Language stored as a string in program memory.
A stop function will also be included.


Original issue reported on code.google.com by [email protected] on 17 Oct 2010 at 4:42

Add PAL support

Hello,
it can be cool if we have some simple way to swithc between PAL and NTSC.
There should by some #defines which will enable us to compile tvout with PAL or 
NTSC or both and then we will able to select one of those modes (if there are 
compiled-in) at runtime.

Original issue reported on code.google.com by [email protected] on 24 Oct 2010 at 7:15

TV.draw_box(x1,y1,x2,y2,c) Dosent work

when i put this into the code it dosent turn orange and says theres an error 
also with draw_circle too plz fix fast

What is the expected output? What do you see instead?
Error

What version of the product are you using? On what operating system?

R5.91  on ubuntu 10.04
Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 8 Sep 2010 at 9:37

Improvement: Implement a general bitmap function

bitmap(unsigned char x, unsigned char y, const char bitmap)

Place the upper left corner of a bitmap at point x,y

the bitmap should be encoded as follows:
{#ofBytesWide,#lastByteDrop#ofLines,imageData.....}
msb of a byte is the left most pixel in the byte.
the following byte being the next 8 pixels
lastByteDrop contains the number of pixels to be removed from the end of the 
last byte on each line.

Original issue reported on code.google.com by [email protected] on 15 Oct 2010 at 11:45

TVout/pollserial.cpp:43:6: error: #elif with no expression

Hi,

I'm trying to compile the latest hg source but I have these errors :

$ /usr/bin/avr-g++ -c -mmcu=atmega328p -I. -DF_CPU=16000000  
-Iarduino/hardware/arduino/cores/arduino -Iarduino/hardware/libraries/ -ITVout 
-Os TVout/pollserial.cpp -o TVout/pollserial.o 
TVout/pollserial.cpp:43:6: error: #elif with no expression
TVout/pollserial.cpp:78:6: error: #elif with no expression
TVout/pollserial.cpp:86:6: error: #elif with no expression
TVout/pollserial.cpp:96:6: error: #elif with no expression
TVout/pollserial.cpp:135:6: error: #elif with no expression

I fixed that using "else" instead of "elif".

$ /usr/bin/avr-g++ -v
Using built-in specs.
COLLECT_GCC=/usr/bin/avr-g++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/avr/4.5.1/lto-wrapper
Target: avr
Configured with: ../configure --disable-libssp --disable-nls 
--enable-languages=c,c++ --infodir=/usr/share/info --libdir=/usr/lib 
--libexecdir=/usr/lib --mandir=/usr/share/man --prefix=/usr --target=avr 
--with-gnu-as --with-gnu-ld --with-as=/usr/bin/avr-as --with-ld=/usr/bin/avr-ld
Thread model: single
gcc version 4.5.1 (GCC) 

Original issue reported on code.google.com by [email protected] on 28 Oct 2010 at 12:45

Misleading comment in TVout.cpp!

What steps will reproduce the problem?
1. Use of the method/call .draw_box. 

What is the expected output? What do you see instead?

- In the comments for the .draw_box method in TVout.cpp, the comments
says as follows:

"draw a box x1,y1 to x2,y2".

One would assume this means a box with top left corner in x1, y1 and a bottom 
right corner in x2, y2. This is how ever not enterily the case, 
as the parameters are x1, y1 (upper left corner) and x2 and y2 being
the width and the height of the box. After some debugging i found that I
interpreted the comment/method wrong.


What version of the product are you using? On what operating system?
- R5.91

Please provide any additional information below.
- Just wanted to inform you, so others don't get stuck with this method.
Otherwise... thanx alot for a solid and super library.


Original issue reported on code.google.com by [email protected] on 2 Aug 2010 at 2:24

Extended ASCII font chars (>127)

Printing chars with codes > 127 crashes program.
It can be easily fixed by using unsigned char instead of signed:

virtual void print_char(uint8_t, uint8_t, unsigned char) = 0;

Also, after fix, you can use full ASCII character set at file ascii8x8.h
(sample files is attached)

Original issue reported on code.google.com by [email protected] on 21 Oct 2010 at 7:18

Attachments:

Improvement: force function

provide a interface to force the use of certain parameters. Such as vertical 
scaling, output start line, output offset time, output method.


Original issue reported on code.google.com by [email protected] on 25 Oct 2010 at 12:16

Bug in render_line5c and render_line6c after video pin moved to 7

What steps will reproduce the problem?
1. If pin 1 of the video port is HIGH, then horizontal sync is messed up


What version of the product are you using? On what operating system?
Trunk with video pin on Arduino pin 7.  ATmega328


Please provide any additional information below.

Myles,
(nootropic here).  Since the video moved to port 7, there is a bug in the asm 
routines render_line5c and render_line6c.  These lines near the end need to be 
changed from:

                "svprt  %[port]\n\t"
                "bst    r16,1\n\t"
                "o1bs   %[port]\n\t"

to:

                "svprt  %[port]\n\t"
                "bst    r16,7\n\t"
                "o1bs   %[port]\n\t"

That is, the seventh bit of r16 needs to be written out to the port, not the 
1st bit.  The problem only becomes evident if pin 1 of the port is set.  The 
hsync gets messed up.  I found this while trying to use Arduino pin 1 as a 
digital input with the pull-up resistor set.

Original issue reported on code.google.com by [email protected] on 14 Sep 2010 at 1:11

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.