avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] moving from PIC to AVR...


From: Larry Barello
Subject: Re: [avr-gcc-list] moving from PIC to AVR...
Date: Wed, 19 Jun 2002 16:14:09 -0700

Start with the application notes at www.atmel.com?

All the things you want to do are easily supported in GCC and most
assemblers.

You can look over my web site as I use all those techniques, but I
don't have simple code snippets for you to look at.  Best to go to
atmel, drill down to 8 bit RISC software and look over their examples.

For examples of how to do this in C (That is what GCC is all about!)
look at www.avrfreaks.net in the faqs/coding guides under GCC.

Oh, and of course, read the chip data sheet and become familiar with
the instructions.

----- Original Message -----
From: "raphael abrams" <address@hidden>


> Hello everybody!
>
> I just reached the limit of what i could do with a PIC in terms of
speed, so
> i am starting out with the avr and gcc. What i can't seem to find is
any
> reasonably comprehensive collection of source-code examples. Right
now i
> need to know a few things like: How do i map an IO register to a
variable (i
> have a suspicion that i can't...)? How do i test a bit in a
variable? a
> register? Can i read the ststus register?  More specifically, i need
a good
> routine for bit banged serial IO. Also making lookup tables without
using
> huge chunks of sram.
> The list goes on and on. Help!
>
> thanks,
> raphael abrams,
> brooklyn, NY


avr-gcc-list at http://avr1.org



reply via email to

[Prev in Thread] Current Thread [Next in Thread]