RaspbmcCrystalbuntu
|
LCDproc and v2 rpi
|
|
12-12-2012, 08:55 PM
Post: #1
|
|||
|
|||
|
LCDproc and v2 rpi
Hi,
My LCD board works fine on my v1 RPI : ![]() However, I cannot get it to work with my new v2 rpi. Unfortunately my LCD board uses one of the GPIO lines that was moved between v1 and v2 boards, so what was GPIO-21 is now GPIO-27. I have modified the LCDd.conf file to reflect this, but now the display does not work. Anyone else able to try this? Texy |
|||
|
12-16-2012, 08:21 PM
Post: #2
|
|||
|
|||
|
RE: LCDproc and v2 rpi
OK, so no takers, eh ;-)
So I delve a little further into the hd44780-rpi.c file and I believe I can see the problem : /* gpio pins 3, 5, 27 available on S5 */ static const int gpio_pins[] = { 0, 1, -1, -1, 4, -1, -1, 7, 8, 9, 10, 11, -1, -1, 14, 15, -1, 17, 18, -1, -1, 21, 22, 23, /* 8-31 accessible via board-id resistors R3-R10 */ 24, 25, -1, -1, -28, -29, -30, -31 }; Needs to be changed to : /* gpio pins 3, 5, 21 available on S5 */ static const int gpio_pins[] = { 0, 1, -1, -1, 4, -1, -1, 7, 8, 9, 10, 11, -1, -1, 14, 15, -1, 17, 18, -1, -1, -1, 22, 23, /* 8-31 accessible via board-id resistors R3-R10 */ 24, 25, -1, 27, -28, -29, -30, -31 }; I made those changes, but this the package needs compiling into an hd44780.so file? Any idea's how to do this? Texy |
|||
|
12-16-2012, 08:31 PM
(This post was last modified: 12-16-2012 08:57 PM by ActionA.)
Post: #3
|
|||
|
|||
|
RE: LCDproc and v2 rpi
Since this is not something supported or advertised by raspbmc, I'm moving thread to the General forum. I think you would have better luck finding help on raspberrypi.org forums or possibly somewhere like adafruit's microcontroller forum? Several forums here also that would probably be helpful http://elinux.org/RPi_Community#Forums
How to SSH into your pi If you are not willing to learn, no one can help you. If you are determined to learn, no one can stop you. |
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)
Sponsored Advertisement

Member List
Calendar
Help


![[Image: DSC_5548.jpg]](http://i94.photobucket.com/albums/l114/TexyUK/DSC_5548.jpg)




