UniGraphic-Fork for ST7920-LCD-controller and SH1106. Tested with 128x64 LCD with SPI and 128x64-OLED with IIC

Dependents:   UniGraphic-St7920-Test AfficheurUTILECO

Fork of UniGraphic by GraphicsDisplay

Fork of the UniGraphic-Library for monochrome LCDs with ST7920 controller and 128x64-IIC-OLED-Display with SH1106-Controller

/media/uploads/charly/20170522_210344.jpg

/media/uploads/charly/20180425_230623.jpg

Had to adapt LCD for following reasons:

  • Give access to screenbuffer buffer[] to parent class
  • pixel() and pixel_read() as they are hardware-dependent
  • added reset-pin to IIC-Interface

GraphicDisplay:: sends buffer to LCD when auto_update is set to true.

Testprogram for ST7920 can be found here:

https://developer.mbed.org/users/charly/code/UniGraphic-St7920-Test/

History

some modifications. default tip

2018-10-30, by charly [Tue, 30 Oct 2018 20:00:29 +0000] rev 38

some modifications.


Restored SSD1306.

2018-04-25, by charly [Wed, 25 Apr 2018 20:55:59 +0000] rev 37

Restored SSD1306.


Added SH1106 for OLED Display 128x64 via IIC

2018-04-22, by charly [Sun, 22 Apr 2018 21:41:24 +0000] rev 36

Added SH1106 for OLED Display 128x64 via IIC


buitify

2017-05-21, by charly [Sun, 21 May 2017 20:50:09 +0000] rev 35

buitify


First working Version with 128x64LCD with ST7920-COntroller;

2017-05-20, by charly [Sat, 20 May 2017 21:12:05 +0000] rev 34

First working Version with 128x64LCD with ST7920-COntroller;


Add I2C protocol. ; Add SSD1306 i2C modus

2017-02-06, by dreschpe [Mon, 06 Feb 2017 12:29:33 +0000] rev 33

Add I2C protocol. ; Add SSD1306 i2C modus


If char is not in font, print blank.; Useful if you have a number only font and want to format output.

2016-05-02, by dreschpe [Mon, 02 May 2016 22:44:05 +0000] rev 32

If char is not in font, print blank.; Useful if you have a number only font and want to format output.


The width and height of SEPS225 are 0x80, but I mistook it to 0x7F in the first version and have fixed them in later version, but in the newest version we had the return of 0x7F, so I try to fix them to 0x80 again.

2016-04-01, by Rhyme [Fri, 01 Apr 2016 06:00:02 +0000] rev 31

The width and height of SEPS225 are 0x80, but I mistook it to 0x7F in the first version and have fixed them in later version, but in the newest version we had the return of 0x7F, so I try to fix them to 0x80 again.


Add ILI9320 init to ILI932x

2015-11-29, by Geremia [Sun, 29 Nov 2015 19:58:47 +0000] rev 30

Add ILI9320 init to ILI932x


Add ILI9327 and S6D04D1 (240x400 displays)

2015-11-28, by Geremia [Sat, 28 Nov 2015 18:37:19 +0000] rev 29

Add ILI9327 and S6D04D1 (240x400 displays)