-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
KS0108 GLCD with 3 chip select pins is not working #7
Comments
Hello! Kind regards |
Hello! I do know that openGLCD(an Arduino and Teensy library) supports 3-chip devices. Kind regards |
Hi, I don't have any 3-chip displays here. But if you want, just go ahead and give it a shot. I think you just need to include CS3 in the pin map and mess with the |
Hello. I have been messing around with the Python code with no avail to the problem.. This is the file which should shed some light on the issue as far as I am aware: https://github.com/thegeek82000/openGLCD/blob/master/config/ks0108/AutoConfig_ks0108-HJ19264A_Panel.h This is another file for a display I cannot test with as I do not own one, however it seems that it just has inverted pin logic for the chip select pins: https://github.com/thegeek82000/openGLCD/blob/master/config/ks0108/AutoConfig_ks0108-JHD19264A_Panel.h Whereas this last file seems to do some 'smart math' for the display chip dimensions(possibly useful for a potential port?): https://github.com/thegeek82000/openGLCD/blob/master/device/ks0108_Device.h I'm currently stuck with my attempts at helping port 3-chip devices to pyLCD. Kind regards |
Okay then, I will check it out when I have time (and hopefully not forget it). |
Hello.
I am having an issue with a KS0108 (192x64 with 3 chip select pins) and pyLCD.
I am using the 'glcd_system_monitor_threaded.py' and 'glcd_system_monitor.py' example scripts.
The scripts run fine, however the image on the GLCD is not working as I'd assume it might..
I had to disable the UART inside of my '/boot/config.txt' with the directive 'enable_uart=0' due to the lack of output pins on the Raspberry Pi Zero unit.
I am using the 'gpio readall' command to compare my wiring from the BCM pins to the pins inside of my pinmap configuration section of each script.
Am I perhaps missing something, or doing something incorrectly to cause this?
Or is there a limitation to pyLCD which only allows support for GLCD's with only 2 chip select pins?
If so how simple would it be to possibly implement a patch so that it can support a 3 chip KS0108 device?
My pin configuration is as follows:
PINMAP = {
'RW': 14,
'RS': 7,
'E': 8,
'D0': 25,
'D1': 24,
'D2': 11,
'D3': 9,
'D4': 10,
'D5': 22,
'D6': 27,
'D7': 17,
'CS1': 3,
'CS2': 4,
'CS3': 15,
'RST': 2,
'LED': 18,
}
Kind regards
The text was updated successfully, but these errors were encountered: