Serial LCD problem


Closed Thread
Results 1 to 38 of 38

Hybrid View

  1. #1
    Join Date
    Feb 2004
    Location
    Germany
    Posts
    762


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mind
    ...Since I hate reading old posts where the person has the same problem as I did, and solved it, but there is no mention of the solution, I have included working code below.
    Richard, so do we hate this.

    Tell us what the actual problem was, or do you want us to compare your non working code with the working code and then both of them with the datasheet(s)?
    regards

    Ralph

    _______________________________________________
    There are only 10 types of people:
    Those who understand binary, and those who don't ...
    _______________________________________________



  2. #2
    seoman's Avatar
    seoman Guest


    Did you find this post helpful? Yes | No

    Default

    The main problem was:
    The delaytimes to give the displaycontroller sufficient time to perform the instruction.

    The datasheet clairly states the needed time.
    40msec for the controller to initialize
    1.08 ms for a clear display or return home
    the others are 26.3 μs

    For some strange reason the datasheet exaple program uses an 200μs delay after setting the follower control.

    I must say i'm pretty pleased with an SPI interfaced display.
    Low on program code (if spi hardware is used)
    only 3(4) wires needed to write to the display!!

    1 commend to Mind
    You can connect more devices to one spi bus!

    Regards, Simon
    Last edited by seoman; - 30th November 2006 at 12:33.

Similar Threads

  1. LCD problem with 16F628
    By ngeronikolos in forum mel PIC BASIC Pro
    Replies: 25
    Last Post: - 19th September 2016, 09:28
  2. LCD serial backpacks
    By Archangel in forum Serial
    Replies: 67
    Last Post: - 30th December 2010, 05:51
  3. Newbie? Problem with LCD
    By lew247 in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 7th December 2009, 20:48
  4. Please help with EDE702 - Serial to LCD interface
    By Tomexx in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 30th October 2008, 03:48
  5. LCD Problem
    By karenhornby in forum General
    Replies: 3
    Last Post: - 19th June 2008, 12:43

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