problem connecting LCD to PIC

Thread Starter

YazanJuve

Joined Dec 13, 2009
25
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 :)
 

Attachments

maxpower097

Joined Feb 20, 2009
816
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.
Rich (BB code):
//output_high(LCD_CS); // disable
LCD_CS=1;
}

void spi_data(int dat){

//output_low(LCD_CS); // enable chip
LCD_CS=0;
 
Last edited:
Top