GT2560 v4.1B, YHCB2004 SPI character LCD (#21091)
Co-authored-by: Scott Lahteine <github@thinkyhead.com>
This commit is contained in:
@ -93,6 +93,10 @@
|
||||
|
||||
LCD_CLASS lcd(0x27, 2, 1, 0, 4, 5, 6, 7, 3, POSITIVE);
|
||||
|
||||
#elif ENABLED(YHCB2004)
|
||||
|
||||
LCD_CLASS lcd(YHCB2004_CLK, 20, 4, YHCB2004_MOSI, YHCB2004_MISO); // CLK, cols, rows, MOSI, MISO
|
||||
|
||||
#else
|
||||
|
||||
// Standard direct-connected LCD implementations
|
||||
|
@ -90,6 +90,11 @@
|
||||
#include <LiquidCrystal_I2C.h>
|
||||
#define LCD_CLASS LiquidCrystal_I2C
|
||||
|
||||
#elif ENABLED(YHCB2004)
|
||||
|
||||
#include <LiquidCrystal_AIP31068_SPI.h>
|
||||
#define LCD_CLASS LiquidCrystal_AIP31068_SPI
|
||||
|
||||
#else
|
||||
|
||||
// Standard directly connected LCD implementations
|
||||
|
Reference in New Issue
Block a user