Run PandaPiV2.9 in standalone with PandaPi_LCD - markniu/PandaPi GitHub Wiki

1,Edit the Configuration.h and configure the 3 options like the following:

#define SERIAL_PORT 1

#define DGUS_LCD_UI_FYSETC

//#define CR10_STOCKDISPLAY

2, Edit Marlin2.x\standalone\Marlin-2.0.9.3\Marlin\src\inc\Conditionals_post.h

before

#if HAS_TEMPERATURE && EITHER(HAS_LCD_MENU, HAS_DWIN_E3V2)

after

#if 1//HAS_TEMPERATURE && EITHER(HAS_LCD_MENU, HAS_DWIN_E3V2)

3,Edit Marlin2.x\standalone\Marlin-2.0.9.3\Marlin\src\lcd\extui\dgus\fysetc\DGUSDisplayDef.cpp

before:

VPHELPER(VP_T_Bed_Is, &thermalManager.temp_bed.celsius, nullptr, ScreenHandler.DGUSLCD_SendWordValueToDisplay),

after:

VPHELPER(VP_T_Bed_Is, &thermalManager.temp_bed.celsius, nullptr, ScreenHandler.DGUSLCD_SendFloatAsLongValueToDisplay<0>),