Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[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
18
Activity points
1,324
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.
 

FenTrac

Full Member level 4
Joined
Jul 6, 2014
Messages
204
Helped
37
Reputation
74
Reaction score
39
Trophy points
28
Location
West Coast
Activity points
1,756
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

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top