Programming-Project
Ultibo / Lazarus / Free Pascal
of Ronald Daleske

Example 04 - using GPIOs to drive the LC-Display SSD1289 (with shift register 74HC595)


The SSD1289 is a 320x240 LC-Display. The SSD1289 use following pins:

The 4 control lines connected directly to the GPIO pins. For the 16 data lines are not enough GPIO pins available.

For the 16 data lines are used two 74HC595 shift register.


Test PCB with RaspberryPI A+ and LC-Display SSD1289.


Test PCB with RaspberryPI A+ and LC-Display SSD1289.



RPI and LC-Display SSD1289: RPI_LCD_SSD1289.ZIP

RPI and LC-Display SSD1289: RPI2_LCD_SSD1289.ZIP


Description of the unit "RSSD1289.pas" (driving the SSD1289 LC-Display)

The unit "RSSD1289.pas" use the units "RGPIO.pas" and "PReg.pas".

After initialization, the screen can be deleted.

the next procedure is the display of the image.