fix buttons UI, SD pins

This commit is contained in:
Axel Sepulveda 2025-11-24 03:19:34 -03:00
parent 7c19f8b484
commit e81066d6ac
2 changed files with 18 additions and 2 deletions

View file

@ -542,14 +542,14 @@
#if ENABLED(MIGHTYBOARD_INTERFACE)
#define MIGHTYBOARD_LCD
// #define IS_ULTIPANEL 1
#define IS_ULTIPANEL 1 // Enables button menu navigation and functions (Marlin UI)
// #define HAS_WIRED_LCD 1
#define LCD_WIDTH 20
#define LCD_HEIGHT 4
#endif
#if ANY(IS_ULTIPANEL, ULTRA_LCD, MIGHTYBOARD_LCD)
#define HAS_WIRED_LCD 1
#define HAS_WIRED_LCD 1 // Enables LCD and button detection
#endif

View file

@ -191,6 +191,22 @@
#define BEEPER_PIN 6 // H3
//
// SD Card
//
// --- Secure Digital Card configuration ---
// NOTE: If SD support is enabled, it is implicitly assumed that the
// following pins are connected:
// AVR | SD header
//---------|--------------
// MISO | DATA_OUT
// MOSI | DATA_IN
// SCK | CLK
#define SD_WRITE_PIN 41 // Sailfish mighty two: G0(41) H5(D8) -
#define SD_DETECT_PIN 40 // Sailfish mighty two: G1(40) H6(D9) L0(D49)
#define SD_SS_PIN 53 // Sailfish mighty two: B0(53)
#endif
#endif // HAS_WIRED_LCD