TRIS E setting for 18F2550


Closed Thread
Results 1 to 4 of 4

Hybrid View

  1. #1
    Join Date
    Feb 2003
    Location
    Salt Lake City, Utah USA
    Posts
    517


    Did you find this post helpful? Yes | No

    Smile

    Quote Originally Posted by Squibcakes View Post
    I've set CONFIG MCLRE = OFF in the .inc file to disable MCLR, but that doesn't
    Something to try ...try this in your .inc file

    Code:
          __CONFIG    _CONFIG3H, _PBADEN_OFF_3H & _MCLRE_OFF_3H
    EDIT - In the above, I added the "_MCLRE_OFF_3H" to the already exisiting __CONFIG _CONFIG3H line of the inc file
    Last edited by paul borgmeier; - 23rd May 2007 at 06:24. Reason: clarity & format change (& instead of ,)
    Paul Borgmeier
    Salt Lake City, UT
    USA
    __________________

  2. #2
    Join Date
    Oct 2003
    Location
    Australia
    Posts
    257


    Did you find this post helpful? Yes | No

    Default

    Ok thanks guys sussed it.

    I was right in the fist place to use CONFIG MCLRE = OFF , the only thing is that I didn't need to use TRISE = ....., This pin is input only anyway.

    Cheers
    Squib

Similar Threads

  1. TRIS setting for the DS1302
    By Dennis in forum mel PIC BASIC Pro
    Replies: 28
    Last Post: - 3rd March 2010, 01:14
  2. OSCON setting for 18F4520
    By Dennis in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 29th November 2009, 15:18
  3. PICKit2 - warning about configuration words
    By flotulopex in forum mel PIC BASIC Pro
    Replies: 26
    Last Post: - 4th August 2009, 14:01
  4. Help with setting adcon1 for 16f877
    By jessey in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 16th August 2005, 11:13
  5. Is LCDOUT setting always al TRIS ?
    By BigWumpus in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 19th June 2005, 17:02

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