Proposed changes to ST7920 lightweight status screen
This commit is contained in:
@ -1519,18 +1519,7 @@
|
||||
// RepRapDiscount FULL GRAPHIC Smart Controller
|
||||
// http://reprap.org/wiki/RepRapDiscount_Full_Graphic_Smart_Controller
|
||||
//
|
||||
// If USE_ST7920_LIGHTWEIGHT_UI is uncommented, then an alternative
|
||||
// light-weight status screen will be used that takes advantage of
|
||||
// the ST7920 character-generator to conserve MCU resources.
|
||||
//
|
||||
// Since the lightweight status screen can only show a status
|
||||
// message or the position, but not both, set DELAY_TO_SHOW_POSITION
|
||||
// to the number of seconds until the position is revealed after a new
|
||||
// status message is drawn.
|
||||
|
||||
//#define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
|
||||
//#define USE_ST7920_LIGHTWEIGHT_UI
|
||||
//#define DELAY_TO_SHOW_POSITION 20
|
||||
|
||||
//
|
||||
// MakerLab Mini Panel with graphic
|
||||
|
@ -645,6 +645,22 @@
|
||||
// Swap the CW/CCW indicators in the graphics overlay
|
||||
//#define OVERLAY_GFX_REVERSE
|
||||
|
||||
#if ENABLED(U8GLIB_ST7920)
|
||||
/**
|
||||
* ST7920-based LCDs can emulate a 16 x 4 character display using
|
||||
* the ST7920 character-generator for very fast screen updates.
|
||||
* Enable LIGHTWEIGHT_UI to use this special display mode.
|
||||
*
|
||||
* Since LIGHTWEIGHT_UI has limited space, the position and status
|
||||
* message occupy the same line. Set STATUS_EXPIRE_SECONDS to the
|
||||
* length of time to display the status message before clearing.
|
||||
*/
|
||||
//#define LIGHTWEIGHT_UI
|
||||
#if ENABLED(LIGHTWEIGHT_UI)
|
||||
#define STATUS_EXPIRE_SECONDS 20
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif // DOGLCD
|
||||
|
||||
// @section safety
|
||||
|
Reference in New Issue
Block a user