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:
parent
2d933cf0e4
commit
b807eefeaf
11 changed files with 710 additions and 343 deletions
12
extras/ssd1306/config.h
Normal file
12
extras/ssd1306/config.h
Normal 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_ */
|
Loading…
Add table
Add a link
Reference in a new issue