[AVR] TVOut for stand-alone atmega

Status
Not open for further replies.

K33rg4t3

Full Member level 3
Joined
Aug 2, 2015
Messages
165
Helped
7
Reputation
14
Reaction score
7
Trophy points
1,298
Activity points
2,607
Hey
https://code.google.com/p/arduino-tvout/
this is an Arduino library (I checked it and it is working fine).
Now I want to compile this code for stand alone atmega (breadboard + atmega + some resistors and capacitors).
I have Atmega644, 1284, 324.
But this code is not a pure C: https://code.google.com/p/arduino-tvout/source/browse/TVout.cpp
this is C++
And it has some Arduino addons I think.
How can I use this library on stand-alone AVR chip? I need the easiest way.
I have the USB ASP programmer.
Please help.
 

Below is a link to a project that uses an Atmega1284p with the Arduino ide. This is a place to start looking at what is needed to add the 1284p to the Arduino environment and use the Arduino libraries and functions with other ATmega processors. This link includes a bootloader for the 1284p, that allows files to be uploaded with the Arduino IDE using a USB to TTL serial adapter. This was the site I used to help build a custom 1284p version of an Arduino board.
The procedures can be adapter to other AVR's as well.

ATmel's Studio 6 is another good tool for programming other Atmel processors. It has both C++ compiler and assembler.

https://maniacbug.wordpress.com/2011/11/27/arduino-on-atmega1284p-4/
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…