again with weired lcd


Results 1 to 7 of 7

Threaded View

  1. #7
    Join Date
    Apr 2009
    Posts
    36


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by malwww View Post
    i've got this lcd they use it for car radio i want to use it with pic 16f84,and i want to know witch data and how can i send data and clock bcz it works with shiftout and i didnt understand the datasheet of that IC they use in the lcd here the schema,please help me just what i neet to send how long data and clock and the mode in shiftout,thank you'other things the wire it has vcc,gnd,sclck,sdat, it works in its device,it doesnt need other wires like rst ,
    i wrote this code and im confused witch address i use i didnt understand the datasheet exactly the commands anyone can help me
    ' I2CREAD and I2WRITE Commands

    Include "modedefs.bas"
    DEFINE SHIFT_PAUSEUS 1000

    SDO VAR PortB.0
    SCLK var PortB.1
    DPIN var PORTA.0
    CPIN var PORTA.1
    B0 var byte
    B1 var bit
    B2 var byte
    B3 var byte
    B4 var byte


    portB = 0
    TRISB = 0
    loop:
    pause 100
    For B2 = 0 To 9

    lookup b2,[252,96,218,242,102,182,190,224,254,246],b0
    I2CWRITE DPIN,CPIN,%01110000,address?,[ b0]
    Pause 20
    Next B2
    Goto loop

    end
    Last edited by malwww; - 14th June 2009 at 16:08.

Similar Threads

  1. Is this code not initialising the LCD properly?
    By Platypus in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 30th January 2010, 19:14
  2. 16f688 LCD what have I done wrong
    By spitfiredriver in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 8th August 2009, 19:54
  3. Need help with LCD number display.
    By Steve Matson in forum mel PIC BASIC
    Replies: 8
    Last Post: - 26th June 2007, 23:07
  4. LCD will not start
    By btaylor in forum mel PIC BASIC Pro
    Replies: 49
    Last Post: - 24th May 2007, 02:30
  5. Dedicated LCD Controller question
    By chuckles in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 27th February 2006, 14:44

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