LCDOUT custom commands - how to?


Closed Thread
Results 1 to 40 of 69

Hybrid View

  1. #1
    Join Date
    Aug 2006
    Location
    SWITZERLAND (french speaking)
    Posts
    938


    Did you find this post helpful? Yes | No

    Default Finally...

    After some hours of trying different things, here are the results of my tests.

    As said in a previous post, I changed my PIC to a 16F690 (I used my last 16F88 a few weeks ago..) but this is not the reason why I couldn't make the display work.

    For testing purpose, the cabling between the display and the PIC doesn't change for both 4 bit and 8 bit bus mode versions. So I made it for the 8 bit bus mode version and just set the four "unused" ports in the 4 bit bus mode to a HIGH level (see the cabling difference hereunder... and in the code).
    <table border=0><tr><td><img src="http://www.picbasic.co.uk/forum/attachment.php?attachmentid=2034&stc=1&d=119049609 7"></td><td>
    <img src="http://www.picbasic.co.uk/forum/attachment.php?attachmentid=2035&stc=1&d=119049705 4"></td></tr></table>
    The key point with this display is the timing at startup. The display must have the time to be powered before the PIC sends commands. I have tried several values but the one I left in the code looks to be really fine.

    Four mandatory initialisation commands have to be used to make the display work but in fact, only one command is different between the 2 bus modes.

    The initialisation process uses the conventional LCDOUT $FE command; this makes it even more simple .

    Again, thank you everybody for your help.
    Attached Images Attached Images   
    Attached Files Attached Files
    Roger

Similar Threads

  1. Timer + rc5
    By naga in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 19th November 2009, 07:56
  2. need help in coding..
    By daphne8888 in forum mel PIC BASIC
    Replies: 1
    Last Post: - 19th March 2008, 07:31
  3. Help GPS read with serin
    By leinske in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 5th September 2007, 02:33
  4. Crystalfontz LCD
    By jman12 in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 9th February 2007, 15:04
  5. having problems with Hantronix 20x4 lcd
    By Rhatidbwoy in forum mel PIC BASIC Pro
    Replies: 16
    Last Post: - 22nd December 2005, 12:22

Members who have read this thread : 1

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