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