asantos2000 / arduino-tvout

Automatically exported from code.google.com/p/arduino-tvout
0 stars 0 forks source link

I can't compile the example #1

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
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 tasos...@gmail.com on 17 Jun 2010 at 12:21

GoogleCodeExporter commented 8 years ago
I think I fixed the issue with the compilation error.

However the examples will not work on a m168 without one simple modification.
change:
TV.start_render(_PAL)
to
TV.begin(_PAL,128,56)  //(begin is the new setup function that does not have a 
compatibility layer with the old start_render()

I plan to change the default resolution for devises with less than 2k of sram.

Original comment by mdmetzle@gmail.com on 17 Jun 2010 at 11:23

GoogleCodeExporter commented 8 years ago

Original comment by mdmetzle@gmail.com on 17 Jun 2010 at 11:25

GoogleCodeExporter commented 8 years ago

Original comment by mdmetzle@gmail.com on 17 Jun 2010 at 11:26