Skip to main content

Customize Button

Add Button

  • First, create a button according to the video above with a random size setting
  • After adding, it looks like the following picture

Set Button Display Effect

Set Button Function

  • Use a function to send a single Gcode command
    gcode_send2("","G28");
  • Use a function to send multiple Gcode commands at once:
    gcode_send2("","G91\\nG1 X10 F3000\\nG90");
  • Or use this method to send multiple Gcode commands at once:
    gcode_send2("","G91");
    gcode_send2("","G1 X10 F3000");
    gcode_send2("","G90");

Write the Sent Content into the Button