As i have never used this before I want to flick on a LED so I know that I have entered this section of code. The problem I get is that I get an error saying
Undefined identifier PORTE
what do I write instead as I am sure I have written this in asm code before
regards
dave
mpfj
Joined: 09 Sep 2003 Posts: 95 Location: UK
Posted: Fri Mar 05, 2004 8:08 am
The .h files do not inclide definitins for PORTx.
So you will have to include the following declaration ...
Code:
#define PORTE 0xF84
... which allows the compiler to know where to look.
You will probably have to do the same for the SSP stuff as well.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum