Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
on_boot.gcode [2020/02/10 12:16]
arthur
on_boot.gcode [2020/02/10 12:18]
arthur
Line 1: Line 1:
-====== Using on_boot.gcode ​======+= Using on_boot.gcode =
  
 If you create a file on your SD card named <​kbd>​on_boot.gcode</​kbd>,​ the contents of that file will be executed every time the machine boots up. If you create a file on your SD card named <​kbd>​on_boot.gcode</​kbd>,​ the contents of that file will be executed every time the machine boots up.
Line 5: Line 5:
 This is useful if you need to set things up a certain way, or perform actions, every time the machine is reset. This is useful if you need to set things up a certain way, or perform actions, every time the machine is reset.
  
-===== Useful codes =====+== Useful codes ==
  
 Here are some useful G-codes you might want to use in your on_boot.gcode :  Here are some useful G-codes you might want to use in your on_boot.gcode : 
Line 16: Line 16:
 * <​key>​M105</​key>​ to set a given temperature on a heater so it starts pre-heating * <​key>​M105</​key>​ to set a given temperature on a heater so it starts pre-heating
 * <​key>​M106</​key>​ to turn a fan on at boot time * <​key>​M106</​key>​ to turn a fan on at boot time
 +
 +See [[supported-g-codes]] for more information on these and other G-codes.