Advertisement
shawnp123

display.cfg

Jan 21st, 2023
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.14 KB | None | 0 0
  1. ########################################
  2. #EXP1 / EXP2 (display) pins
  3. ########################################
  4.  
  5. # These must be turned 180° when compared to the default RAMPS layout.
  6. # The aliases below are 180° turned from what Fysetc considers pin 1,
  7. # but visually correspond to the plugs on the board.
  8.  
  9. [board_pins]
  10. aliases:
  11. # EXP1 header
  12. EXP1_1=PE8, EXP1_2=PE7,
  13. EXP1_3=PE9, EXP1_4=PE10,
  14. EXP1_5=PE12, EXP1_6=PE13, # Slot in the socket on this side
  15. EXP1_7=PE14, EXP1_8=PE15,
  16. EXP1_9=<GND>, EXP1_10=<5V>,
  17.  
  18. # EXP2 header
  19. EXP2_1=PA6, EXP2_2=PA5,
  20. EXP2_3=PB1, EXP2_4=PA4,
  21. EXP2_5=PB2, EXP2_6=PA7, # Slot in the socket on this side
  22. EXP2_7=PC15, EXP2_8=<RST>,
  23. EXP2_9=<GND>, EXP2_10=PC5
  24.  
  25. ######################################################################
  26. # "RepRapDiscount 128x64 Full Graphic Smart Controller" type displays
  27. ######################################################################
  28.  
  29. [display]
  30. lcd_type: st7920
  31. cs_pin: EXP1_4
  32. sclk_pin: EXP1_5
  33. sid_pin: EXP1_3
  34. encoder_pins: ^EXP2_3, ^EXP2_5
  35. click_pin: ^!EXP1_2
  36. #kill_pin: ^!EXP2_8
  37.  
  38. [output_pin beeper]
  39. pin: EXP1_1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement