recently I have been trying to work with GLCD of type ks0108 controller. I downloaded openGLCD library from bperrybap / openGLCD / Downloads — Bitbucket
I made a circuit in proteusv8.4 which includes following hardware:
Arduino uno
AMPIRE 128x64 GLCD
resistor pack for input pullup
potentiometer 10K
I wired the circuit as shown in figure 1.
then I made a following simple program to display a letter 'h':
problem:
I am not getting intended output, even after successful compilation of program, rather I'm getting output as shown in figure 2.
I would be very grateful if someone help me out with this.
I tried to simulate diag sketch but it didn't work. but surprisingly when I changed the clock frequency of GLCD to1200 KHz (previously 300 KHz) everything worked fine.
since I was just simulating this circuit in proteus and was not physically making it so can you please explain the phenomenon of changing frequency worked in simulation? if I would have made a physical circuit so what would be the remedy if same problem is encountered physically?
I have no clue how proteus does its simulation.
Simulators are not reality.
When it comes to working with h/w I believe in working with, well.. real h/w.