added support for the UltiController
This commit is contained in:
parent
44fd8d46d2
commit
464b755918
@ -196,7 +196,16 @@ const bool Z_ENDSTOPS_INVERTING = true; // set to true to invert the logic of th
|
|||||||
//#define ULTRA_LCD //general lcd support, also 16x2
|
//#define ULTRA_LCD //general lcd support, also 16x2
|
||||||
//#define SDSUPPORT // Enable SD Card Support in Hardware Console
|
//#define SDSUPPORT // Enable SD Card Support in Hardware Console
|
||||||
|
|
||||||
#define ULTIPANEL
|
//#define ULTIMAKERCONTROLLER //as available from the ultimaker online store.
|
||||||
|
//#define ULTIPANEL //the ultipanel as on thingiverse
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef ULTIMAKERCONTROLLER //automatic expansion
|
||||||
|
#define ULTIPANEL
|
||||||
|
#define NEWPANEL
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#ifdef ULTIPANEL
|
#ifdef ULTIPANEL
|
||||||
// #define NEWPANEL //enable this if you have a click-encoder panel
|
// #define NEWPANEL //enable this if you have a click-encoder panel
|
||||||
#define SDSUPPORT
|
#define SDSUPPORT
|
||||||
|
@ -729,10 +729,18 @@
|
|||||||
#define LCD_PINS_D7 19
|
#define LCD_PINS_D7 19
|
||||||
|
|
||||||
//encoder rotation values
|
//encoder rotation values
|
||||||
#define encrot0 0
|
#ifndef ULTIMAKERCONTROLLER
|
||||||
#define encrot1 2
|
#define encrot0 0
|
||||||
#define encrot2 3
|
#define encrot1 2
|
||||||
#define encrot3 1
|
#define encrot2 3
|
||||||
|
#define encrot3 1
|
||||||
|
#else
|
||||||
|
#define encrot0 0
|
||||||
|
#define encrot1 1
|
||||||
|
#define encrot2 3
|
||||||
|
#define encrot3 2
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
#define SDCARDDETECT -1
|
#define SDCARDDETECT -1
|
||||||
//bits in the shift register that carry the buttons for:
|
//bits in the shift register that carry the buttons for:
|
||||||
|
Loading…
Reference in New Issue
Block a user