Guest User

Untitled

a guest
Feb 13th, 2023
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.17 KB | None | 0 0
  1. ######################################
  2. # MicroMacro #
  3. ######################################
  4.  
  5. #pinout:
  6.  
  7. #####
  8. # 1 #
  9. #####
  10. # 2 #
  11. #####
  12. # 3 #
  13. #####
  14. # 4 #
  15. #####
  16. # 5 #
  17. #####
  18. # #
  19. #####
  20.  
  21. ######################################
  22.  
  23. [respond]
  24. default_type: echo
  25.  
  26. ######################################
  27.  
  28. [gcode_button Pin1]#1
  29. pin: ^!rpi:gpio5
  30. press_gcode:
  31. ### insert any executable macro
  32. HEAT_SOAK
  33. ### insert respond text
  34. M118 Starting Heat_soak
  35.  
  36. [gcode_button Pin2]#2
  37. pin: ^!rpi:gpio6
  38. press_gcode:
  39. ### insert any executable macro
  40. CANCEL_HEAT_SOAK
  41. ### insert respond text
  42. M118 Stopping Heat_soak
  43.  
  44. [gcode_button Pin3]#3
  45. pin: ^!rpi:gpio13
  46. press_gcode:
  47. ### insert any executable macro
  48. CANCEL_PRINT
  49. ### insert respond text
  50. M118 CANCELING PRINT!!!
  51.  
  52. [gcode_button Pin4]#4
  53. pin: ^!rpi:gpio19
  54. press_gcode:
  55. ### insert any executable macro
  56. HOME_CHECK
  57. ### insert respond text
  58. M118 Checking if Homed
  59.  
  60. [gcode_button Pin5]#5
  61. pin: ^!rpi:gpio26
  62. press_gcode:
  63. ### insert any executable macro
  64. Disable_Steppers
  65. ### insert respond text
  66. M118 Disabling Steppers
Advertisement
Add Comment
Please, Sign In to add comment