ugfx/drivers/gdisp/SSD1306
inmarket a8e860678d New GDISP now supports multiple controllers with different pixel formats.
You can now have a main color display and a secondary monochrome display.
You can now optionally set GDISP_PIXELFORMAT to any color or grayscale format for your application and the driver will internally convert to the display hardware format.
2013-11-05 19:34:12 +10:00
..
SSD1306.h Remove superflous defines 2013-10-23 01:33:43 +10:00
board_SSD1306_template.h Fix SSD1306 driver and board files to allow for seamless transfer of the command byte with the page line data without copying the data on to the stack. 2013-10-25 14:39:56 +10:00
gdisp_lld.mk Rename GDISP driver files to prevent problems when compiling for multiple controllers on platforms that put all generated object files into a single directory. 2013-10-28 11:03:39 +10:00
gdisp_lld_SSD1306.c New GDISP now supports multiple controllers with different pixel formats. 2013-11-05 19:34:12 +10:00
gdisp_lld_config.h Auto-generate pixel formats using macro's. 2013-11-05 00:36:54 +10:00
readme.txt Added SSD1306 driver by user goeck 2013-08-26 00:50:47 +02:00

readme.txt

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

Description:

Driver for OLED with 4-wire serial interface and I²C/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)
- after using uGFX subsystem gdisp_lld_display() has to be called "by hand" to push framebuffer to display

To use this driver:

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

	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/SSD1306/gdisp_lld.mk

4. 	Call gdisp_lld_display() every time you want to update display content