need help on display problem


Closed Thread
Results 1 to 20 of 20

Hybrid View

  1. #1
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default Just a chance

    i ve recheck all the wiring..n its all just like the diagram..
    I have not upgraded to the latest version of PBP, but my GREEN BOOK shows the example "diagram" for a 4 bit set up.

    The code I see is for 8 bit.

    It is very late for me so maybe I am missing something.
    Dave
    Always wear safety glasses while programming.

  2. #2
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mackrackit View Post
    I have not upgraded to the latest version of PBP, but my GREEN BOOK shows the example "diagram" for a 4 bit set up.

    The code I see is for 8 bit.

    It is very late for me so maybe I am missing something.
    <b> Nice Catch</b>
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

  3. #3
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mackrackit View Post
    I have not upgraded to the latest version of PBP, but my GREEN BOOK shows the example "diagram" for a 4 bit set up.

    The code I see is for 8 bit.

    It is very late for me so maybe I am missing something.
    If you're wiring is for 4 bit, and your code is for 8 bit, then you need to add:
    DEFINE LCD_BITS 4
    otherwise PBP defaults to 8 bits

Similar Threads

  1. Hdsp 21xx display
    By Original in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 7th June 2012, 21:07
  2. Replies: 14
    Last Post: - 26th September 2007, 06:41
  3. 7-segment display blinking problem?
    By serdar_ozcan in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 14th March 2006, 15:43
  4. 7 segment digit problem (using Mister E's code)
    By jmgelba in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 9th September 2005, 21:25
  5. 4x20 LCD Display Problem
    By kayki in forum mel PIC BASIC
    Replies: 0
    Last Post: - 24th August 2005, 16:42

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