Add Support TinyBoy2 OLED/Encoder panel
The OLED is driven by an SSD1306, connected to the board via I2C, the rotary encoder is connected to 3 GPIO pins. Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>
This commit is contained in:
committed by
Scott Lahteine
parent
e746d68a12
commit
0fe57ad4f5
@@ -188,10 +188,13 @@
|
||||
#else
|
||||
#define BTN_ENC 30
|
||||
#endif
|
||||
#else // !Panelolu2
|
||||
#elif ENABLED(OLED_PANEL_TINYBOY2)
|
||||
#define BTN_ENC 28
|
||||
#define LCD_SDSS -1
|
||||
#else // !Panelolu2, !TinyBoy2
|
||||
#define BTN_ENC 16
|
||||
#define LCD_SDSS 28 // Smart Controller SD card reader rather than the Melzi
|
||||
#endif // !Panelolu2
|
||||
#endif // !Panelolu2, !TinyBoy2
|
||||
|
||||
#define SD_DETECT_PIN -1
|
||||
|
||||
|
Reference in New Issue
Block a user