PortE problems (PIC18F4455)


Results 1 to 16 of 16

Threaded View

  1. #4
    Join Date
    Mar 2005
    Posts
    15


    Did you find this post helpful? Yes | No

    Default

    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.

    Code:
    ASM
    MOVLW 0h
    MOVWF UCON
    ENDASM
    Warning:
    Found opcode in collumn 1. (MOVLW)
    Found opcode in collumn 1. (MOVWF)

    I think my assembly knowledge is very bad
    Attached Images Attached Images  

Similar Threads

  1. LCD Problems
    By gtx15 in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 29th September 2007, 04:04
  2. New to PBP and having problems!
    By Lauren Barta in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 12th October 2006, 04:49
  3. 18F6680 and portd problems.
    By jkbh in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 6th June 2005, 11:54
  4. HSEROUT Problems
    By SergioRM in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 8th April 2005, 00:17
  5. Display problems
    By rossfree in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 18th November 2004, 00:36

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts