A lightweight program for rendering smooth animations on KS0108 graphic LCDs using the ATmega32.
-
ATmega32 microcontroller (or compatible AVR).
-
KS0108-based 128x64 GLCD (e.g., JHD12864E).
ATmega32 pins | KS0108 pins | Connection |
---|---|---|
PORTA0 | DB0 | Data bit 0 |
PORTA1 | DB1 | Data bit 1 |
PORTA2 | DB2 | Data bit 2 |
PORTA3 | DB3 | Data bit 3 |
PORTA4 | DB4 | Data bit 4 |
PORTA5 | DB5 | Data bit 5 |
PORTA6 | DB6 | Data bit 6 |
PORTA7 | DB7 | Data bit 7 |
PORTB0 | E | Enable |
PORTB1 | Read/Write | |
PORTB2 | DI | |
PORTB3 | ~RST | |
PORTB4 | CS1 | Chip select 2 |
PORTB4 | CS2 | Chip select 2 |
MIT License. See License.
If you want to:
-
Report bugs via Issues.
-
Submit PR for optimizations/new features.