mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-08-09 23:05:05 -06:00
config: Update several config files to use board aliases for lcd
Add a sample-lcd.cfg with the defintions for several common "reprap" style LCD displays that use the EXP1/EXP2 plugs. Update several config files to add EXP1/EXP2 board aliases. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
bfbcb90751
commit
e817b85b78
5 changed files with 147 additions and 122 deletions
|
@ -134,14 +134,15 @@ max_z_accel: 100
|
|||
[static_digital_output led]
|
||||
pins: !PC26
|
||||
|
||||
# "RepRapDiscount 128x64 Full Graphic Smart Controller" type displays
|
||||
#[display]
|
||||
#lcd_type: st7920
|
||||
#cs_pin: PC9
|
||||
#sclk_pin: PA2
|
||||
#sid_pin: PA6
|
||||
#encoder_pins: ^PC3, ^PB5
|
||||
#click_pin: ^!PA7
|
||||
#
|
||||
#[output_pin BEEPER_pin]
|
||||
#pin: PA15
|
||||
# EXP1 / EXP2 (display) pins
|
||||
[board_pins]
|
||||
aliases:
|
||||
# EXP1 header
|
||||
EXP1_1=PA15, EXP1_3=PA6, EXP1_5=PA2, EXP1_7=<NC>, EXP1_9=<GND>,
|
||||
EXP1_2=PA7, EXP1_4=PC9, EXP1_6=<NC>, EXP1_8=<NC>, EXP1_10=<5V>,
|
||||
# EXP2 header
|
||||
EXP2_1=PA5, EXP2_3=PC3, EXP2_5=PB5, EXP2_7=<NC>, EXP2_9=<GND>,
|
||||
EXP2_2=PA2, EXP2_4=PB13, EXP2_6=PA6, EXP2_8=<RST>, EXP2_10=<NC>
|
||||
# Pins EXP2_1, EXP2_6, EXP2_2 are also MISO, MOSI, SCK of bus "usart0"
|
||||
|
||||
# See the sample-lcd.cfg file for definitions of common LCD displays.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue