Skip to content

Commit

Permalink
Initial commit of the LulzBot Extensible UI
Browse files Browse the repository at this point in the history
Initial commit of the UI used on the LulzBot TAZ Pro printer (LULZBOT_TOUCH_UI).
This code works with FTDI EVE display modules connected via SPI **

** Tested with FT800 and FT810 displays and on Rambo (8-bit) and Archim2 (32-bit) boards.
  • Loading branch information
marcio-ao committed Aug 16, 2019
1 parent 179d6c4 commit 28ea834
Show file tree
Hide file tree
Showing 242 changed files with 24,511 additions and 17 deletions.
64 changes: 64 additions & 0 deletions Marlin/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -2033,6 +2033,70 @@
//
//#define MALYAN_LCD

//
// LulzBot Color Touch UI for FTDI EVE (FT800/FT810) displays
//
//#defined LULZBOT_TOUCH_UI
#ifdef LULZBOT_TOUCH_UI
// Define the display board used:

//#define LCD_FTDI_VM800B35A // FTDI 3.5" with FT800 (320x240)
//#define LCD_4DSYSTEMS_4DLCD_FT843 // 4D Systems 4.3" (480x272)
//#define LCD_HAOYU_FT800CB // Haoyu with 4.3" or 5" (480x272)
//#define LCD_HAOYU_FT810CB // Haoyu with 5" (800x480)
//#define LCD_ALEPHOBJECTS_CLCD_UI // Aleph Objects Color LCD UI

// If you have swapped out the TFT panel on your display for another,
// you may change the resolution below, otherwise leave it commented
// out for the default resolution

//#define LCD_320x240
//#define LCD_480x272
//#define LCD_800x480

// If your board has connectors for the RepRapDiscount Display
// (ULTRA_LCD), you can select a pin mapping:

//#define AO_EXP1_PINMAP // AlephObject CLCD UI EXP1 mapping
//#define AO_EXP2_PINMAP // AlephObject CLCD UI EXP2 mapping
//#define CR10_TFT_PINMAP // Rudolph Riedel's CR10 pin mapping

// Otherwise, define all the pins manually:

//#define OTHER_PIN_LAYOUT
#if ENABLED(OTHER_PIN_LAYOUT)
// The pins for CS and MOD_RESET (PD) must be chosen.
#define CLCD_MOD_RESET 9
#define CLCD_SPI_CS 10

// If using software SPI, specify pins for SCLK, MOSI, MISO
//#define CLCD_USE_SOFT_SPI
#if defined(CLCD_USE_SOFT_SPI)
#define CLCD_SOFT_SPI_MOSI 11
#define CLCD_SOFT_SPI_MISO 12
#define CLCD_SOFT_SPI_SCLK 13
#endif
#endif

// Defines how to orient the display. An inverted (i.e. upside-down) display
// is supported on the FT800. The FT810 and beyond also support portrait
// and mirrored orientations.

//#define USE_INVERTED_ORIENTATION
//#define USE_PORTRAIT_ORIENTATION
//#define USE_MIRRORED_ORIENTATION

// Use a numeric passcode for "Screen lock" keypad.
// (recommended for smaller displays)

//#define USE_NUMERIC_PASSCODE

// Define number of seconds after which the screens
// timeout and return the user to the status screen

//#define MENU_TIMEOUT 120
#endif

//
// Third-party or vendor-customized controller interfaces.
// Sources should be installed in 'src/lcd/extensible_ui'.
Expand Down
5 changes: 4 additions & 1 deletion Marlin/src/inc/Conditionals_LCD.h
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@
#endif

// Extensible UI serial touch screens. (See src/lcd/extensible_ui)
#if EITHER(MALYAN_LCD, DGUS_LCD)
#if ANY(MALYAN_LCD, DGUS_LCD, LULZBOT_TOUCH_UI)
#define IS_EXTUI
#define EXTENSIBLE_UI
#endif
Expand All @@ -381,6 +381,9 @@
#define HAS_LCD_MENU (ENABLED(ULTIPANEL) && DISABLED(NO_LCD_MENUS))
#define HAS_ADC_BUTTONS ENABLED(ADC_KEYPAD)

// Does the Extensible UI provide a pin mapping for RepRapDiscount connectors?
#define HAS_NEWPANEL_PINMAP ENABLED(LULZBOT_TOUCH_UI) && ANY(AO_EXP1_PINMAP, AO_EXP2_PINMAP, CR10_TFT_PINMAP)

/**
* Default LCD contrast for Graphical LCD displays
*/
Expand Down
Loading

0 comments on commit 28ea834

Please sign in to comment.