Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
8e56568
preliminar pins according to research
chepo92 Oct 2, 2025
bd12738
feat: add Makerbot Mightyboard Revision G and H to boards.h
chepo92 Oct 2, 2025
6619a70
feat: using mega extended pins
chepo92 Oct 2, 2025
5f7ade4
feat: add mighty rev g
chepo92 Oct 2, 2025
fda52a4
ordering comments
chepo92 Oct 2, 2025
75eab38
add: softspi pins for mightyboard rev g
chepo92 Oct 2, 2025
d9c15a8
Fix: correct config for homing
chepo92 Oct 2, 2025
8d90014
leave Shift Register pins for LCD just for now
chepo92 Oct 2, 2025
5a6b6d2
clean pins
chepo92 Oct 2, 2025
e4feec9
match order
chepo92 Oct 3, 2025
aec1481
Merge branch 'mightyboard-rev-G-H' into mightyboard-rev-G-H-PR
chepo92 Oct 3, 2025
518f8a8
pin naming and format
chepo92 Oct 3, 2025
a8739e9
Merge branch 'mightyboard-rev-G-H' into mightyboard-rev-G-H-PR
chepo92 Oct 3, 2025
e716a50
format
chepo92 Oct 3, 2025
6f8a814
Merge branch 'mightyboard-rev-G-H' into mightyboard-rev-G-H-PR
chepo92 Oct 3, 2025
bb1ed7b
clean and format pins
chepo92 Oct 3, 2025
e8f09e4
Merge branch 'mightyboard-rev-G-H' into mightyboard-rev-G-H-PR
chepo92 Oct 3, 2025
25c47f1
reformatting in pins_MIGHTYBOARD_REVG.h
ellensp Oct 3, 2025
0378a0e
Merge branch 'mightyboard-rev-G-H-PR' into mightyboard-rev-G-H
chepo92 Oct 3, 2025
b695c85
use z stop
chepo92 Oct 3, 2025
0fb2ab2
add the plus 70 pins variant for Mighty rev G
chepo92 Oct 14, 2025
94ba096
pins according to independent test
chepo92 Nov 17, 2025
2eba129
use backlight code
chepo92 Nov 17, 2025
e1ac0a1
add sailfish LCD lib dep
chepo92 Nov 17, 2025
ac7b1ca
working LCD
chepo92 Nov 18, 2025
98633f7
Corrected pins, add debug pins list for M43, conditional input pullup…
chepo92 Nov 19, 2025
da2a295
debug prints
chepo92 Nov 19, 2025
d5c8b13
debug conditional print
chepo92 Nov 19, 2025
730339e
update name
chepo92 Nov 19, 2025
2a59391
clean debug, disable, conditional enable
chepo92 Nov 19, 2025
88f36ed
Merge branch 'MightyGH_LCD' into mightyboard-rev-G-H-PR
chepo92 Nov 19, 2025
7c19f8b
not using sailfish lcd
chepo92 Nov 19, 2025
e81066d
fix buttons UI, SD pins
chepo92 Nov 24, 2025
8ea8280
Merge branch 'bugfix-2.1.x' into pr/28089
thinkyhead Nov 25, 2025
ff03ac9
format mightyboard pins
chepo92 Nov 26, 2025
9faf702
Merge branch 'mightyboard-rev-G-H-PR' of https://github.com/chepo92/M…
chepo92 Nov 26, 2025
0a479f2
update conditionals add mighty
chepo92 Dec 2, 2025
2bf26d7
fix space
chepo92 Dec 2, 2025
94b91db
set custom address, ad optional swap color channels
chepo92 Dec 14, 2025
05a0dee
Left and right wotk as menu back and back to status, similar as zones…
chepo92 Dec 22, 2025
2e888ff
review cleanup
thinkyhead Jan 11, 2026
eaae68b
Merge branch 'bugfix-2.1.x' into pr/28089
thinkyhead Jan 11, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions Marlin/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -3042,6 +3042,20 @@
//
//#define FF_INTERFACEBOARD

//
// MightyBoard LCD and Interface
//
//#define MIGHTYBOARD_LCD
#if ENABLED(MIGHTYBOARD_LCD)
//#define MIGHTYBOARD_RUNTIME_DEBUG // Lightweight debug output for buttons and encoder
//#define MIGHTYBOARD_DISABLE_ENC_PULLUP // Enable if the encoder button doesn't work correctly
//#define MIGHTYBOARD_BUTTON_PULLUPS // Enable if other buttons don't work correctly

// Enable to use LEFT/RIGHT for Back and Status Screen.
// Otherwise LEFT/RIGHT act like the encoder in menu navigation and value editing.
//#define MIGHTYBOARD_BACK_STATUS_BUTTONS
#endif // MIGHTYBOARD_LCD

//
// TFT GLCD Panel with Marlin UI
// Panel connected to main board by SPI or I2C interface.
Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/HAL/AVR/pinsDebug.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@

#define NUMBER_PINS_TOTAL NUM_DIGITAL_PINS

#if MB(BQ_ZUM_MEGA_3D, MIGHTYBOARD_REVE, MINIRAMBO, SCOOVO_X9H, TRIGORILLA_14)
#if MB(BQ_ZUM_MEGA_3D, MIGHTYBOARD_REVE, MINIRAMBO, SCOOVO_X9H, TRIGORILLA_14, MIGHTYBOARD_REVG)
#define AVR_ATmega2560_FAMILY_PLUS_70 1
#endif

Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/HAL/AVR/pinsDebug_plus_70.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
* Structures for 2560 family boards that use more than 70 pins
*/

#if MB(BQ_ZUM_MEGA_3D, MINIRAMBO, SCOOVO_X9H, TRIGORILLA_14)
#if MB(BQ_ZUM_MEGA_3D, MINIRAMBO, SCOOVO_X9H, TRIGORILLA_14, MIGHTYBOARD_REVG)
#undef NUM_DIGITAL_PINS
#define NUM_DIGITAL_PINS 85
#elif MB(MIGHTYBOARD_REVE)
Expand Down
1 change: 1 addition & 0 deletions Marlin/src/core/boards.h
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@
#define BOARD_MALYAN_M180 1333 // Malyan M180 Mainboard Version 2 (no display function, direct G-code only)
#define BOARD_PROTONEER_CNC_SHIELD_V3 1334 // Mega controller & Protoneer CNC Shield V3.00
#define BOARD_WEEDO_62A 1335 // WEEDO 62A board (TINA2, Monoprice Cadet, etc.)
#define BOARD_MIGHTYBOARD_REVG 1336 // Makerbot Mightyboard Revision G and H

//
// ATmega1281, ATmega2561
Expand Down
25 changes: 17 additions & 8 deletions Marlin/src/feature/leds/pca9632.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,11 @@
#define LED_ON 0x01
#define LED_PWM 0x02

#define PCA9632_ADDRESS 0b01100000
#ifndef PCA9632_ADDRESS
#define PCA9632_ADDRESS 0b01100000
#warning "Using default PCA9632_ADDRESS for I2C (0b01100000)."
#endif
//static_assert(false, "Using PCA9632 I2C address=" STRINGIFY(PCA9632_ADDRESS));

byte PCA_init = 0;

Expand All @@ -98,16 +102,16 @@ static void PCA9632_WriteAllRegisters(const byte addr, const byte regadd, const
#if DISABLED(PCA9632_NO_AUTO_INC)
uint8_t data[4];
data[0] = PCA9632_AUTO_IND | regadd;
data[1 + (PCA9632_RED >> 1)] = vr;
data[1 + (PCA9632_RED >> 1)] = TERN(PCA9632_SWAP_RB, vb, vr);
data[1 + (PCA9632_GRN >> 1)] = vg;
data[1 + (PCA9632_BLU >> 1)] = vb;
data[1 + (PCA9632_BLU >> 1)] = TERN(PCA9632_SWAP_RB, vr, vb);
Wire.beginTransmission(I2C_ADDRESS(addr));
Wire.write(data, sizeof(data));
Wire.endTransmission();
#else
PCA9632_WriteRegister(addr, regadd + (PCA9632_RED >> 1), vr);
PCA9632_WriteRegister(addr, regadd + (PCA9632_RED >> 1), TERN(PCA9632_SWAP_RB, vb, vr));
PCA9632_WriteRegister(addr, regadd + (PCA9632_GRN >> 1), vg);
PCA9632_WriteRegister(addr, regadd + (PCA9632_BLU >> 1), vb);
PCA9632_WriteRegister(addr, regadd + (PCA9632_BLU >> 1), TERN(PCA9632_SWAP_RB, vb, vr));
#if ENABLED(PCA9632_RGBW)
PCA9632_WriteRegister(addr, regadd + (PCA9632_WHT >> 1), vw);
#endif
Expand All @@ -132,15 +136,20 @@ void PCA9632_set_led_color(const LED1Color_t &color) {
PCA9632_WriteRegister(PCA9632_ADDRESS,PCA9632_MODE2, PCA9632_MODE2_VALUE);
}

const byte LEDOUT = (color.r ? LED_PWM << PCA9632_RED : 0)
const byte LEDOUT = (TERN(PCA9632_SWAP_RB, color.b, color.r) ? LED_PWM << PCA9632_RED : 0)
| (color.g ? LED_PWM << PCA9632_GRN : 0)
| (color.b ? LED_PWM << PCA9632_BLU : 0)
| (TERN(PCA9632_SWAP_RB, color.r, color.b) ? LED_PWM << PCA9632_BLU : 0)
| (TERN0(PCA9632_RGBW, color.w ? LED_PWM << PCA9632_WHT : 0));

PCA9632_WriteAllRegisters(PCA9632_ADDRESS,PCA9632_PWM0, color.r, color.g, color.b
PCA9632_WriteAllRegisters(
PCA9632_ADDRESS, PCA9632_PWM0,
TERN(PCA9632_SWAP_RB, color.b, color.r),
color.g,
TERN(PCA9632_SWAP_RB, color.r, color.b)
OPTARG(PCA9632_RGBW, color.w)
);
PCA9632_WriteRegister(PCA9632_ADDRESS,PCA9632_LEDOUT, LEDOUT);

}

#if ENABLED(PCA9632_BUZZER)
Expand Down
7 changes: 7 additions & 0 deletions Marlin/src/inc/Conditionals-2-LCD.h
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,12 @@
#define IS_RRD_SC 1
#define U8GLIB_SSD1309

#elif ENABLED(MIGHTYBOARD_LCD)

#define IS_ULTIPANEL 1
#define LCD_WIDTH 20
#define LCD_HEIGHT 4

#endif

// ST7920-based graphical displays
Expand Down Expand Up @@ -922,6 +928,7 @@
+ ENABLED(CARTESIO_UI) \
+ ENABLED(ELB_FULL_GRAPHIC_CONTROLLER) \
+ ENABLED(FF_INTERFACEBOARD) \
+ ENABLED(MIGHTYBOARD_LCD) \
+ ENABLED(FYSETC_242_OLED_12864) \
+ ENABLED(G3D_PANEL) \
+ ENABLED(LCD_FOR_MELZI) \
Expand Down
Loading