Custom Buttons
Loading...
Adding a Button
- Follow the video above to first create a button; the size can be set arbitrarily.
- After adding, it will look as shown below:
Loading...
Setting Button Display Effects
Loading...
Setting Button Actions
Loading...
- Using a function to send a single G-code command:
gcode_send2("","G28"); - Using a function to send multiple G-code commands at once:
gcode_send2("","G91\\nG1 X10 F3000\\nG90"); - Alternatively, use this method to send multiple G-code commands at once:
gcode_send2("","G91");
gcode_send2("","G1 X10 F3000");
gcode_send2("","G90");
Writing the Content to Send into the Button
Loading...
Loading...