ugfx/drivers/gdisp/SSD1322
inmarket e61f0ae424 Added type gOrientation to replace V2.x orientation_t, and values gOrientationX replace GDISP_ROTATE_X 2018-07-08 13:51:20 +10:00
..
SSD1322.h Add SSD1322 driver. Thanks to Andrey_13 (but with modifications) 2017-09-11 18:19:12 +10:00
board_SSD1322_template.h Added new type definitions - moving towards V3.0 2018-06-23 13:02:07 +10:00
gdisp_lld_SSD1322.c Added type gOrientation to replace V2.x orientation_t, and values gOrientationX replace GDISP_ROTATE_X 2018-07-08 13:51:20 +10:00
gdisp_lld_config.h First set of V3 macro changes 2018-02-27 17:44:21 +10:00
readme.txt First set of V3 macro changes 2018-02-27 17:44:21 +10:00

readme.txt

Description:

Driver for OLED with 4-wire serial interface and I2C/SPI interface

Know restictions:
- Driver works only with SSD1306 hooked up over I2C or SPI (include corresponding header)
- Driver is written for 128x64 pixel displays (128x32 are only partly supported and need small further work)
- Flushing is required for this driver

To use this driver:

1. 	Add in your gfxconf.h:
	a) #define GFX_USE_GDISP	GFXON

	b) Any optional high level driver defines (see gdisp.h) eg: GDISP_NEED_MULTITHREAD

	c) The following are optional - define them if you are not using the defaults below:
		#define GDISP_SCREEN_WIDTH		128
		#define GDISP_SCREEN_HEIGHT		64

2. 	If you are not using a known board then create a gdisp_lld_board.h file according to
	given example files (or just stick with them) and ensure it is on your include path.

3. 	To your makefile add the following lines:
	include $(GFXLIB)/drivers/gdisp/SSD1322/gdisp_lld.mk