I've got what you need here: http://www.ubasics.com/adam/electronics/lcd/cc5xlcd.c You might also be interested in the more expansive project here: http://www.ubasics.com/adam/electronics/ha/ Though I have done nothing with it for... a long time... (sigh) Anyway, enjoy. Please check out the links on the bknd site as well, there are many more sites like mine. -Adam Michael Pettersson wrote: >Hello! > >I'm a new with PIC programming and I'm using the CC5x free software from >www.bknd.com > >I have just started exploring the C and PIC programming and now I would like >to use a LCD. > >I haven't found any examples using the CC5x C language, although there are >some other C language examples interfacing a HD44780 controlled LCD module. > >I would appreciate if anyone could write a simple code string that is using >the CC5x C language and do a init for the LCD >and writes a text string to it. > >If anyone have a URL for other code examples and projects using CC5x this >also would be great to have. > >I'm using the LCD in 4 bit mode with the following configuration: > >PIC: 16LF877-04/P > >RB0 LCD DB4 >RB1 LCD DB5 >RB2 LCD DB6 >RB3 LCD DB7 >RB4 LCD RS >RB5 LCD E > >LCD R/W Connected to GND > >All help are appreciated! > >/Best Regards > >Michael Pettersson >mippen@voxway.com > >-- >http://www.piclist.com hint: PICList Posts must start with ONE topic: >[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads > > > > > -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads