View previous topic :: View next topic |
Author |
Message |
moothz
Joined: 09 Sep 2011 Posts: 8
|
LCD with any pins |
Posted: Fri Sep 09, 2011 6:26 am |
|
|
Hello there!
I developing a software using the Pic MINI web from Olimex. I want to connect a LCD to it.
The LCD.h and XLCD.h codes use an entire port for it and I don't have this entire port.
The pins I have left are:
A1, A2, A3, A4, A5, B1, C0, C1, C6, and C7
I need to know how to use those pins for the LCD instead of B0,B1,B2.. or C0, C1, C2, etc.
THanks in advance |
|
|
temtronic
Joined: 01 Jul 2010 Posts: 9225 Location: Greensville,Ontario
|
|
Posted: Fri Sep 09, 2011 8:04 am |
|
|
Use the 'flex_lcd.c' driver....
It may be in the examples folder, or available in the 'code library' here. |
|
|
moothz
Joined: 09 Sep 2011 Posts: 8
|
|
Posted: Fri Sep 09, 2011 8:15 am |
|
|
Thank you, sir!
Thank you very much!
Quick question:
Can I still use
printf(lcd_putc, "hello");
With this code? |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Fri Sep 09, 2011 2:50 pm |
|
|
The flex driver has the lcd_putc() function, so yes you can do it. |
|
|
|