PIC18EXT.BAS Alteration


Results 1 to 21 of 21

Threaded View

  1. #1
    Join Date
    Feb 2005
    Location
    Essex, UK
    Posts
    94

    Question PIC18EXT.BAS Alteration

    Hi,

    I need access to the UCON register (USB Control Register) so that I can disable the USB port in an 18F4550.

    I have added the line:

    Code:
    UCON    var byte EXT
    into the PIC18EXT.BAS file and this seems to have done the trick.

    Is this the correct way to have done this or should I not have touched this file at all?

    Thanks very much

    Rob
    Last edited by Rob; - 25th January 2007 at 17:15. Reason: Needed to enclose code in correct fashion

Similar Threads

  1. Elapsed_Int-18 Alteration
    By Rob in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 31st January 2008, 11:51

Members who have read this thread : 0

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