Skip to main content

Custom Button

Add Button

  • According to the video above, create a button with any size
  • After adding, it will look as shown below

Set Button Display Effect

Set Button Function

  • Use the function to send a single Gcode command
    gcode_send2("","G28");
  • Use the 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 Content into Button