[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-gcc-list] How to make and use array in WinAVR
From: |
Andreas Djojorahardjo |
Subject: |
[avr-gcc-list] How to make and use array in WinAVR |
Date: |
Fri, 25 Apr 2003 22:21:15 -0700 |
Hi All,
I use AT90S8515 and WINAVR 3.3 new release.
Now I have a problem.
I write my code below :
void D(U8 a)
{
U8 temp;
static U8 C[4]={0x00,0, 0x00, 0x01};
static const U8 D[2]={0x00, 0x00};
for (i=0;i>4;i++) temp=C[i];
}
When I compile my code, then it works successful.
I write my hex to IC, then process works successful.
But I cant get the result.
Would you help me to solve my problem ?
Thank you
Andreas
- [avr-gcc-list] How to make and use array in WinAVR,
Andreas Djojorahardjo <=