- Fri Sep 02, 2016 7:40 am
#191516
Ok, I've got my GLD12864 LCD all hooked up and its more or less working.
Because I've got it wired a bit weird I am not using any of the libraries floating around for it. I've got it hooked up to an Attiny 1634. Since I didn't have the required number of I/O pins available, I'm using two latches to clock the data into them and then use those outputs to present the data to the LCD when I take the Enable Line low.
This works ok, I see all the data and control lines assume their correct states before I clock the E line but I'm having a problem, I don't understand the addressing scheme I don't think. Or perhaps it's the timing of the CSS1 and CSS2 vs the E line?
The screen looks like two identical pages side by side as I write the x,y coordinates to it. I thought it might be that I have to clock the two CSS lines independently to clock the data into one or the other but that doesn't seem to have any effect? I always seem to be writing to both at the same time, or the screen shows that.
Here is a video:
https://youtu.be/P2kcpzoOBBQ
Any help appreciated- Thanks! Martin
Because I've got it wired a bit weird I am not using any of the libraries floating around for it. I've got it hooked up to an Attiny 1634. Since I didn't have the required number of I/O pins available, I'm using two latches to clock the data into them and then use those outputs to present the data to the LCD when I take the Enable Line low.
This works ok, I see all the data and control lines assume their correct states before I clock the E line but I'm having a problem, I don't understand the addressing scheme I don't think. Or perhaps it's the timing of the CSS1 and CSS2 vs the E line?
The screen looks like two identical pages side by side as I write the x,y coordinates to it. I thought it might be that I have to clock the two CSS lines independently to clock the data into one or the other but that doesn't seem to have any effect? I always seem to be writing to both at the same time, or the screen shows that.
Here is a video:
https://youtu.be/P2kcpzoOBBQ
Any help appreciated- Thanks! Martin