nippe.teknopapu.net

Tag: VGA

AVGA library on Arduino? Well…

by eimink on Jul.23, 2010, under Hacks

As some who hang out at #arduino@ircnet may remember, I was trying to generate VGA signals with Duemilanove board a while back. Then I stumbled across AVGA library by  Jaromir Dvorak, and thought I could use it as a starting point. However, AVGA is designed to run on faster clock than Arduino and because of that some of the code needs to be modified, but not much. Ok, that doesn’t sound too bad, but another issue arises – AVGA has some assembly code put in to a .S file, and we all know that Arduino IDE doesn’t like them. There is a workaround for this – you could compile the assembler file by hand and add it as a object file to your build or you could do like I did, ditch the Arduino IDE along with the libraries and use avr-gcc to compile and avrdude to program. Of course you can use any AVR compatible toolchain here, the AVGA source has an example project for AVR Studio.

Hello world! AVGA on Arduino @ 16MHz

Hello world! AVGA on Arduino @ 16MHz

(continue reading…)

2 Comments :, , , , more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!