G Codes in Marlin: Difference between revisions

From Open Source Ecology
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
See list at the Marlin site - http://marlinfw.org/meta/gcode/
See list at the Marlin site - http://marlinfw.org/meta/gcode/
=Top Used=
=Top Used=
*IO pin activation - M42 - [http://marlinfw.org/docs/gcode/M042.html] - Ex: M42 P5 S255 (set digital pin 5 to on) - internet sez: ''For a non-PWM digital pin you need to put S0 (or any value <128) to turn off and S255 (or any value >=128) to turn on.''
*IO pin activation - M42 - [http://marlinfw.org/docs/gcode/M042.html] - Ex: M42 P5 S255 (set digital pin 5 to on). Internet sez: ''For a non-PWM digital pin you need to put S0 (or any value <128) to turn off and S255 (or any value >=128) to turn on.''


=Links=
=Links=

Revision as of 05:07, 28 November 2019

See list at the Marlin site - http://marlinfw.org/meta/gcode/

Top Used

  • IO pin activation - M42 - [1] - Ex: M42 P5 S255 (set digital pin 5 to on). Internet sez: For a non-PWM digital pin you need to put S0 (or any value <128) to turn off and S255 (or any value >=128) to turn on.

Links