@ -67,6 +67,14 @@
# endif
# endif
# if ENABLED(OLED_PANEL_TINYBOY2)
# define U8GLIB_SSD1306
# define ULTIPANEL
# define NEWPANEL
# define REVERSE_ENCODER_DIRECTION
# define REVERSE_MENU_DIRECTION
# endif
// Generic support for SSD1306 / SH1106 OLED based LCDs.
// Generic support for SSD1306 / SH1106 OLED based LCDs.
# if ENABLED(U8GLIB_SSD1306) || ENABLED(U8GLIB_SH1106)
# if ENABLED(U8GLIB_SSD1306) || ENABLED(U8GLIB_SH1106)
# define ULTRA_LCD //general LCD support, also 16x2
# define ULTRA_LCD //general LCD support, also 16x2
@ -158,7 +166,7 @@
# endif
# endif
// Set encoder detents for well-known controllers
// Set encoder detents for well-known controllers
# if ENABLED(miniVIKI) || ENABLED(VIKI2) || ENABLED(ELB_FULL_GRAPHIC_CONTROLLER) \
# if ENABLED(miniVIKI) || ENABLED(VIKI2) || ENABLED(ELB_FULL_GRAPHIC_CONTROLLER) || ENABLED(OLED_PANEL_TINYBOY2) \
| | ENABLED ( BQ_LCD_SMART_CONTROLLER ) | | ENABLED ( LCD_I2C_PANELOLU2 ) | | ENABLED ( REPRAP_DISCOUNT_SMART_CONTROLLER )
| | ENABLED ( BQ_LCD_SMART_CONTROLLER ) | | ENABLED ( LCD_I2C_PANELOLU2 ) | | ENABLED ( REPRAP_DISCOUNT_SMART_CONTROLLER )
# ifndef ENCODER_PULSES_PER_STEP
# ifndef ENCODER_PULSES_PER_STEP
# define ENCODER_PULSES_PER_STEP 4
# define ENCODER_PULSES_PER_STEP 4