SSD1306 OLED Display driver SPI refactored:

- SPI connection support
- different display sizes support
This commit is contained in:
UncleRus 2016-11-21 00:17:58 +05:00
parent 6bd2d15d23
commit 14c79a9ab8
11 changed files with 698 additions and 342 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_ */