Skip to content

Commit

Permalink
pins: Add in LCD pins for the Printrboard
Browse files Browse the repository at this point in the history
  • Loading branch information
lwalkera committed Jan 18, 2014
1 parent 57d9312 commit 5d58fe0
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions Marlin/pins.h
Original file line number Diff line number Diff line change
Expand Up @@ -1569,6 +1569,33 @@
#define KILL_PIN -1
#define ALARM_PIN -1

#ifdef ULTRA_LCD
#define BEEPER -1

#define LCD_PINS_RS 9
#define LCD_PINS_ENABLE 8
#define LCD_PINS_D4 7
#define LCD_PINS_D5 6
#define LCD_PINS_D6 5
#define LCD_PINS_D7 4

#define BTN_EN1 16
#define BTN_EN2 17
#define BTN_ENC 18//the click

#define BLEN_C 2
#define BLEN_B 1
#define BLEN_A 0

#define SDCARDDETECT -1

//encoder rotation values
#define encrot0 0
#define encrot1 2
#define encrot2 3
#define encrot3 1
#endif

#ifndef SDSUPPORT
// these pins are defined in the SD library if building with SD support
#define SCK_PIN 9
Expand Down

0 comments on commit 5d58fe0

Please sign in to comment.