I have some new graphic LCD displays that are 192x64. They have the KS0108 controllers which are compatible with the Monochron code. They have the same pin-outs as the smaller 128x64 displays. Will they work without some changes in the software? With the same controllers would they just scale the screen properly....maybe a little stretched? I thought I would breadboard them to the clock board and see what I get before hacking the code.......as always....any info appreciated...
Neutron Spin
Even more Monochron questions
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
-
- Posts: 12151
- Joined: Thu Apr 06, 2006 4:21 pm
Re: Even more Monochron questions
you'll probably end up with only 2/3's of the screen being used. you would have to rewrite the code to support larger screens.
- neutron spin
- Posts: 163
- Joined: Sat Apr 03, 2010 6:11 pm
Re: Even more Monochron questions
That is what I thought. In file 'ks0108conf.h' there is the following code :adafruit wrote:you'll probably end up with only 2/3's of the screen being used. you would have to rewrite the code to support larger screens.
// LCD geometry defines (change these definitions to adapt code/settings)
#define GLCD_XPIXELS 128 // pixel width of entire display
#define GLCD_YPIXELS 64 // pixel height of entire display
#define GLCD_CONTROLLER_XPIXELS 64 // pixel width of one display controller
Changing "128" to "192" seems logical and changing the LCD controller pixel statement from "64" to "96" . If I did that then re-compiled the file 'ks0108conf.h' and run MAKE would that perhaps work? I am not a very good programmer but barely passed the course in college over 40 years ago...lol...before C or C++ existed.....thanks and on to the great experiment....
-
- Posts: 12151
- Joined: Thu Apr 06, 2006 4:21 pm
Re: Even more Monochron questions
probably not but hypothesizing isnt very useful when it comes to software, you are best off trying it out
- neutron spin
- Posts: 163
- Joined: Sat Apr 03, 2010 6:11 pm
Re: Even more Monochron questions
Thank you for the kind response...I shall try to use your advice in resolving my question....adafruit wrote:probably not but hypothesizing isnt very useful when it comes to software, you are best off trying it out
-
- Posts: 12151
- Joined: Thu Apr 06, 2006 4:21 pm
Re: Even more Monochron questions
good luck!
Please be positive and constructive with your questions and comments.