neddie
Full Member level 5
- Joined
- Feb 23, 2010
- Messages
- 251
- Helped
- 41
- Reputation
- 82
- Reaction score
- 35
- Trophy points
- 1,308
- Location
- South Africa
- Activity points
- 3,026
Has anyone else had a problem with this part on Protues7.9.
I've got some simple code that sets TRISC 6,7,8,9 to outputs and then turns them on.
TRISCbits.TRISC6 = 0;
TRISCbits.TRISC7 = 0;
TRISCbits.TRISC8 = 0;
TRISCbits.TRISC9 = 0;
LATCbits.LATC6 = 1;
LATCbits.LATC7 = 1;
LATCbits.LATC8 = 1;
LATCbits.LATC9 = 1;
On Proteus only C7 and C9 work , the other 2 do nothing. The came "cof" file runs in mplab sim
correctly , but not in proteus?
Cheers.
Neddie
I've got some simple code that sets TRISC 6,7,8,9 to outputs and then turns them on.
TRISCbits.TRISC6 = 0;
TRISCbits.TRISC7 = 0;
TRISCbits.TRISC8 = 0;
TRISCbits.TRISC9 = 0;
LATCbits.LATC6 = 1;
LATCbits.LATC7 = 1;
LATCbits.LATC8 = 1;
LATCbits.LATC9 = 1;
On Proteus only C7 and C9 work , the other 2 do nothing. The came "cof" file runs in mplab sim
correctly , but not in proteus?
Cheers.
Neddie