Now I would like to disable the USB-controller of this pic, because I don't need this feature and I have to use the input pins RC4 and RC5.
I've read the datasheet and I can disable USB by setting bit3 (USBEN) of the UCON register to zero. The problem is that it looks that PBP doesn't know the commands I want to use. I think i have to use assembly. I tried the following, but I get a warning.
Warning:Code:ASM MOVLW 0h MOVWF UCON ENDASM
Found opcode in collumn 1. (MOVLW)
Found opcode in collumn 1. (MOVWF)
I think my assembly knowledge is very bad




Bookmarks