do i need to init the CG or DD in 4 bit lcd?


Closed Thread
Results 1 to 5 of 5

Hybrid View

  1. #1
    EDWARD's Avatar
    EDWARD Guest


    Did you find this post helpful? Yes | No

    Default Problem Solved

    Thank you Mister_E. The problem I was having was that i forgot to put the line of code:

    ADCON1=7 ' set all analog pins to digital

    At the top of my program.

    This was becuase my PortA has an Anologue to Digital converter onboard and I needed to tell the PIC to have it function as a standard I/O Port, as you have informed me.
    I usually look at the data sheets but the examples are in ASSEMBLY and I get confused.
    Once again thanks for the quick and precise answer.

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


    Did you find this post helpful? Yes | No

    Thumbs up

    Well done EDWARD. Nice to know that i point you in the right direction.

    Another happy customer!
    Steve

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

Similar Threads

  1. 16f688 LCD what have I done wrong
    By spitfiredriver in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 8th August 2009, 20:54
  2. Microcontroller with 2 way paging application problem
    By oneohthree in forum mel PIC BASIC Pro
    Replies: 30
    Last Post: - 20th April 2007, 18:27
  3. having problems with Hantronix 20x4 lcd
    By Rhatidbwoy in forum mel PIC BASIC Pro
    Replies: 16
    Last Post: - 22nd December 2005, 13:22
  4. encoder wowes
    By wallaby in forum mel PIC BASIC Pro
    Replies: 16
    Last Post: - 6th December 2005, 22:56
  5. 4 Bit Lcd Hookup
    By GEEZER in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 11th May 2005, 01:14

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