SSD1306 OLED Display driver refactored (#290)

* SSD1306 OLED Display driver SPI refactored:
- SPI connection support
- different display sizes support

* I2C address added to device descriptor

* Small fix
This commit is contained in:
Ruslan V. Uss 2016-11-29 04:57:22 +06:00 committed by sheinz
parent 2d933cf0e4
commit b807eefeaf
11 changed files with 710 additions and 343 deletions

12
extras/ssd1306/config.h Normal file
View file

@ -0,0 +1,12 @@
#ifndef _EXTRAS_SSD1306_CONFIG_H_
#define _EXTRAS_SSD1306_CONFIG_H_
#ifndef SSD1306_I2C_SUPPORT
#define SSD1306_I2C_SUPPORT 1
#endif
#ifndef SSD1306_SPI4_SUPPORT
#define SSD1306_SPI4_SUPPORT 1
#endif
#endif /* _EXTRAS_SSD1306_CONFIG_H_ */