problem connecting LCD to PIC

Discussion in 'General Electronics Chat' started by YazanJuve, Dec 29, 2009.

  1. YazanJuve

    Thread Starter New Member

    Dec 13, 2009
    28
    0
    hey all :)

    I have this PIC16F876A which must be connected to an LCD...my questions are:

    1- What do they mean by LCD_CS? is it Enable?

    2- How can the data (LCD_DATA) be sent from one pin only !!

    Please help
    Thanks :)
     
  2. SgtWookie

    Expert

    Jul 17, 2007
    22,182
    1,728
  3. hgmjr

    Moderator

    Jan 28, 2005
    9,030
    214
    Another site containing LCD to PIC information is here.

    hgmjr
     
  4. YazanJuve

    Thread Starter New Member

    Dec 13, 2009
    28
    0
    thx a lot guys :) :) that's great but no one answered if LCD_CS is same as Enable in the LCD?
     
  5. maxpower097

    Well-Known Member

    Feb 20, 2009
    795
    388
    Heres a code example I found with it in C. I have been looking at references for it and most people have it under LCD Chip Select.
    Code ( (Unknown Language)):
    1. //output_high(LCD_CS); // disable
    2. LCD_CS=1;
    3. }
    4.  
    5. void spi_data(int dat){
    6.  
    7. //output_low(LCD_CS); // enable chip
    8. LCD_CS=0;
     
    Last edited: Dec 29, 2009
Loading...