M42 P1.20 fix

This commit is contained in:
Bob-the-Kuhn
2017-11-18 12:57:32 -06:00
committed by Scott Lahteine
parent 5060195e8a
commit a28ccabe2a
9 changed files with 124 additions and 125 deletions

View File

@ -28,11 +28,7 @@
* M42: Change pin status via GCode
*
* P<pin> Pin number (LED if omitted)
* For LPC1768 use M42 P1.20 S255 if wanting to set P1_20 to logic 1
* NOTE - Repetier Host truncates trailing zeros on a decimal when
* sending commands so typing M42 P1.20 S255 results in
* M42 P1.2 S255 being sent. Pronterface doesn't have this issue.
*
* For LPC1768 enter pin P1_20 as M42 P1.20
* S<byte> Pin status from 0 - 255
*/
void GcodeSuite::M42() {