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

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

Re: [avr-gcc-list] arrays in avrgcc


From: Jack Valmadre
Subject: Re: [avr-gcc-list] arrays in avrgcc
Date: Fri, 26 Sep 2003 21:47:13 +1000

I need to be able to access values in an array like this:
PORTD = the_array[PORTA];
How would I do this.
Jack

----- Original Message ----- 
From: "Russell Shaw" <address@hidden>
Cc: <address@hidden>
Sent: Friday, September 26, 2003 7:35 PM
Subject: Re: [avr-gcc-list] arrays in avrgcc


> Jack Valmadre wrote:
> > So does that mean the array "a" will have space for ten variables or
does it
> > mean that the first value in the array "a" will be 10.
> > How big can each value of the array be?
> > Thanks,
> > Jack
> >
> >>Jack Valmadre wrote:
> >>
> >>>Hi,
> >>>How do I set up an array in AVR GCC?
> >>
> >>int a[10];
> >>
>
> Means space for 10 integers with "a" pointing to
> the first one. You needs a C book.
>
>
> _______________________________________________
> avr-gcc-list mailing list
> address@hidden
> http://www.avr1.org/mailman/listinfo/avr-gcc-list



reply via email to

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