Add CreatorPro / Makerbot / QIDI / etc and Mightboard RevE support (#12855)
- Fix a bug in MAXxxxx thermocouple temp reporting. - Add support for 3-wire HD44780. - Add support for PCA9533 RGB driver. - Add configuration examples for FlashForge CreatorPro.
This commit is contained in:
@ -80,6 +80,14 @@
|
||||
#endif
|
||||
);
|
||||
|
||||
#elif ENABLED(SR_LCD_3W_NL)
|
||||
|
||||
// NewLiquidCrystal was not working
|
||||
// https://github.com/mikeshub/SailfishLCD
|
||||
// uses the code directly from Sailfish
|
||||
|
||||
LCD_CLASS lcd(SR_STROBE_PIN, SR_DATA_PIN, SR_CLK_PIN);
|
||||
|
||||
#elif ENABLED(LCM1602)
|
||||
|
||||
LCD_CLASS lcd(0x27, 2, 1, 0, 4, 5, 6, 7, 3, POSITIVE);
|
||||
|
@ -80,10 +80,19 @@
|
||||
#elif ENABLED(SR_LCD_2W_NL)
|
||||
// 2 wire Non-latching LCD SR from:
|
||||
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/schematics#!shiftregister-connection
|
||||
extern "C" void __cxa_pure_virtual() { while (1); }
|
||||
// extern "C" void __cxa_pure_virtual() { while (1); }
|
||||
#include <LCD.h>
|
||||
#include <LiquidCrystal_SR.h>
|
||||
#define LCD_CLASS LiquidCrystal_SR
|
||||
#elif ENABLED(SR_LCD_3W_NL)
|
||||
|
||||
//NewLiquidCrystal was not working for me, but this worked first try
|
||||
//https://github.com/mikeshub/SailfishLCD
|
||||
//uses the code directly from Sailfish
|
||||
|
||||
#include <LCD.h>
|
||||
#include <SailfishLCD.h>
|
||||
#define LCD_CLASS LiquidCrystalSerial
|
||||
|
||||
#elif ENABLED(LCM1602)
|
||||
#include <Wire.h>
|
||||
|
@ -57,8 +57,8 @@ static void _change_filament_temp(const uint16_t temperature) {
|
||||
thermalManager.setTargetHotend(temperature, _change_filament_temp_extruder);
|
||||
lcd_enqueue_command(cmd);
|
||||
}
|
||||
inline void _lcd_change_filament_temp_1_func() { _change_filament_temp(PREHEAT_1_TEMP_HOTEND); }
|
||||
inline void _lcd_change_filament_temp_2_func() { _change_filament_temp(PREHEAT_2_TEMP_HOTEND); }
|
||||
inline void _lcd_change_filament_temp_1_func() { _change_filament_temp(ui.preheat_hotend_temp[0]); }
|
||||
inline void _lcd_change_filament_temp_2_func() { _change_filament_temp(ui.preheat_hotend_temp[1]); }
|
||||
inline void _lcd_change_filament_temp_custom_cb() { _change_filament_temp(thermalManager.target_temperature[_change_filament_temp_extruder]); }
|
||||
|
||||
static PGM_P change_filament_header(const AdvancedPauseMode mode) {
|
||||
|
Reference in New Issue
Block a user