Can't get LCD to work with 16F88


Closed Thread
Results 1 to 12 of 12

Hybrid View

  1. #1
    anj's Avatar
    anj Guest


    Did you find this post helpful? Yes | No

    Default

    Gday Melanie
    Re 16F88s and the statement "ADCON, CMCON etc have no effect on PORTB which is what you're connected to."
    I had problems with a 4line LCD and a 16F88 about 6mths ago.
    Data was on RB4-7.
    The code i had worked perfectly on a 2line LCD but not the 4line unit. Both used the same chipset and initialisation routines.
    I then went and studied the manual, but i couldnt find anything that would account for my problem, however I did note that RB6 and 7 were analogue pins on this chip.
    Grasping at straws, i set ANSEL to force RB6 and RB7 digital prior to initialsing the LCD ( as they start analogue ). This solved my problem, but i'm not sure why.
    Is this something you would "need" to do with this chip, or have i just found something that seems to fix my problem?
    Andrew
    ps original problem was with PBP2.44 and the 16f88 patch off the MEL site
    Last edited by anj; - 9th September 2004 at 22:40.

Similar Threads

  1. Play with LCD on PICDEM
    By The IceMan in forum mel PIC BASIC
    Replies: 5
    Last Post: - 22nd August 2008, 16:56
  2. Need help with LCD number display.
    By Steve Matson in forum mel PIC BASIC
    Replies: 8
    Last Post: - 26th June 2007, 23:07
  3. 16f88 can't get lcd to work
    By nicjo in forum General
    Replies: 12
    Last Post: - 13th December 2006, 02:20
  4. Why doesn't my code for 18f452 work on 18f252?
    By senojlr in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 23rd December 2005, 02:42
  5. 4 line LCD with 16F88
    By anj in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 7th February 2004, 09:06

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