ron
Junior Member level 3
Hi all,
Just using the IAR C-Compiler for AVR for the first time, and I simply cannot figure out how to access a single bit of say PortA.
If I write for example PORTA=0x01 this is fine as its on the whole port, but if I write PA0=1 I keep getting an error "PA0 is undefined" even though I have include the <io8515.h> header.
Cant seem to find an IAR example program anywhere to show me how, can anyone tell me before I've pulled all my hair out !!
Thanks in advance.
Just using the IAR C-Compiler for AVR for the first time, and I simply cannot figure out how to access a single bit of say PortA.
If I write for example PORTA=0x01 this is fine as its on the whole port, but if I write PA0=1 I keep getting an error "PA0 is undefined" even though I have include the <io8515.h> header.
Cant seem to find an IAR example program anywhere to show me how, can anyone tell me before I've pulled all my hair out !!
Thanks in advance.