HOW do you initialize PortC to normal I/O??


Closed Thread
Results 1 to 3 of 3

Hybrid View

  1. #1
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    i hope i read the datasheet right.

    LCDCON=%01000000
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  2. #2
    Join Date
    Jan 2004
    Posts
    11


    Did you find this post helpful? Yes | No

    Talking

    I tried that, and PBP gave me an error. Since LCDCON lives at 107h, in desperation, I added "LCDCON equ 107h" to the M16F91X.INC file, and then tried it again:

    LCDCON = 0

    again, and it worked!

    Thanks mucho.
    Len

Similar Threads

  1. MY FIRST scrolling 8X8 LED
    By earltyso in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 15th August 2008, 16:23
  2. 4bit hex decoder w/LCD
    By rangerdoc in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 21st May 2008, 06:29
  3. How do I configure the PIC16F737?
    By LinkMTech in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 18th November 2007, 23:05
  4. A little DTMF help
    By Travin77 in forum mel PIC BASIC Pro
    Replies: 48
    Last Post: - 30th May 2006, 01:31
  5. Can anyone help a beginner in a struggle?
    By douglasjam in forum mel PIC BASIC
    Replies: 1
    Last Post: - 5th May 2005, 23:29

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