Society of Robots - Robot Forum

Software => Software => Topic started by: Admin on December 06, 2007, 09:28:36 AM

Title: got multi-UART AVRlib code?
Post by: Admin on December 06, 2007, 09:28:36 AM
The AVRlib uart2.c (http://hubbard.engr.scu.edu/avr/avrlib/docs/html/group__uart2.html) isn't compiling and just giving tons of errors . . .

So before I go and figure out how to fix it, was wondering if anyone already had got it to work and can share code?

I need it for my ATmega2560, which has four UARTs . . .
Title: Re: got multi-UART AVRlib code?
Post by: JonHylands on December 06, 2007, 10:17:40 AM
My brother's UART library works fine with at least two UARTs, because we've used this feature on an ATmega128...

http://svn.hylands.org/common/avr/

- Jon
Title: Re: got multi-UART AVRlib code?
Post by: Admin on December 06, 2007, 11:06:21 AM
I posted the errors to avrfreaks, problem solved:

http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&t=57158