16F88 - CCPMX strange fuse setting for HWPM


Closed Thread
Results 1 to 6 of 6

Hybrid View

  1. #1
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    More than likely, you have manualy set the TRIS registers so that RB0 is an OUTPUT.

    That's the only thing that the DEFINE's will affect.

    Normally, the HPWM command will set the pin to OUTPUT on it's own, but in that case it needs the proper defines.

    "PIC-freaks", you calling me a Freak?
    Dang I hate when people know what I really am.
    <br>
    DT

  2. #2
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    Oh shoot, here's a big problem I forgot about.

    If you don't set the DEFINE's, when you use the HPWM command, it will set RB3 to OUTPUT since it's the default.

    If you have something providing a signal as an INPUT to RB3, it can cause a short and really screw things up.
    <br>
    DT

Similar Threads

  1. PICKit2 - warning about configuration words
    By flotulopex in forum mel PIC BASIC Pro
    Replies: 26
    Last Post: - 4th August 2009, 15:01
  2. RA6 & RA7 I/O setting on the 16F88
    By PICante in forum mel PIC BASIC Pro
    Replies: 35
    Last Post: - 23rd August 2008, 20:32

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