What is the error-message ?
What is the error-message ?
PBP 2.50C, MCS+ 3.0.0.5, MPLAB 8, MPASM 5.14, ASIX Presto, PoScope, mE mikroBasic V7.2, PICKIT2
Errors (bad expression)
during compilation appear when I used registers from CAN module: RXB0D0,RXB0D1,
RXB0D2,...,RXB0D7,RXB1D0-RXB1D7,RXB1CON,RXB1CON, - all registers from CAN module.
When I compiled code for pic18f4580,4685 all is OK.
I used pbp pro 2.47,mpasm v.5.11 from mplab 7.60.
Open 18F4585.BAS file in your PBP directory.
Add include "PIC18CAN.BAS" just below include "PIC18EXT.BAS".
Should look like this;
include "PIC18EXT.BAS"
include "PIC18CAN.BAS"
Save the file. You should be good to go.
Bookmarks