(Solved) SW on RE3 error on 18F26K20
Posted: Sat Mar 01, 2014 1:28 pm
I`m working at a project with 18F26K20 and I use all the pins. Mean while, I need another pin and the only pin available is RE3. I set internal MCLR and if I compile, it return me the following error:
" SW.c(217:2): error: unknown identifier 'trise'
SW.c(217:2): error: invalid operand 'trise'
SW.c(217:8): error: failed to generate expression "
Here are the lines in "C":
" //Input
//Input: E3 -> SW
trise = trise | 0x08;
FCV_SW = ((porte & 0x08) == 0x08); "
I still cant attach files (*FCF) on that forum (don`t know why...)
How can I resolve this situation?
Thank you!
" SW.c(217:2): error: unknown identifier 'trise'
SW.c(217:2): error: invalid operand 'trise'
SW.c(217:8): error: failed to generate expression "
Here are the lines in "C":
" //Input
//Input: E3 -> SW
trise = trise | 0x08;
FCV_SW = ((porte & 0x08) == 0x08); "
I still cant attach files (*FCF) on that forum (don`t know why...)
How can I resolve this situation?
Thank you!