|
@@ -735,7 +735,16 @@
|
735
|
735
|
//The encoder and click button
|
736
|
736
|
#define BTN_EN1 11
|
737
|
737
|
#define BTN_EN2 10
|
738
|
|
- #define BTN_ENC 16 //the switch
|
|
738
|
+ #ifdef LCD_I2C_PANELOLU2
|
|
739
|
+ #ifdef MELZI
|
|
740
|
+ #define BTN_ENC 29 //the click switch
|
|
741
|
+ #define SDSS 30 //to use the SD card reader on the Panelolu2 rather than the melzi board
|
|
742
|
+ #else
|
|
743
|
+ #define BTN_ENC 30 //the click switch
|
|
744
|
+ #endif
|
|
745
|
+ #else
|
|
746
|
+ #define BTN_ENC 16 //the click switch
|
|
747
|
+ #endif //Panelolu2
|
739
|
748
|
//not connected to a pin
|
740
|
749
|
#define SDCARDDETECT -1
|
741
|
750
|
|