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
Fork of the UniGraphic-Library for monochrome LCDs with ST7920 controller and 128x64-IIC-OLED-Display with SH1106-Controller
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/
Files at revision 38:1b6f9fc49a03
Name | Size | Actions |
---|---|---|
[up] | ||
BUS16.cpp | 5410 | Revisions Annotate |
BUS16.h | 4422 | Revisions Annotate |
BUS8.cpp | 6287 | Revisions Annotate |
BUS8.h | 4289 | Revisions Annotate |
I2C_bus.cpp | 3426 | Revisions Annotate |
I2C_bus.h | 3951 | Revisions Annotate |
PAR16.cpp | 5505 | Revisions Annotate |
PAR16.h | 4434 | Revisions Annotate |
PAR8.cpp | 6388 | Revisions Annotate |
PAR8.h | 4233 | Revisions Annotate |
Protocols.h | 4747 | Revisions Annotate |
SPI16.cpp | 5992 | Revisions Annotate |
SPI16.h | 4529 | Revisions Annotate |
SPI8.cpp | 6238 | Revisions Annotate |
SPI8.h | 4215 | Revisions Annotate |