Try port*100+pin, fix config dependency

This commit is contained in:
Scott Lahteine
2017-11-19 20:26:53 -06:00
parent ba8bc7ea80
commit 3066655727
13 changed files with 214 additions and 170 deletions

View File

@ -28,7 +28,9 @@
* M42: Change pin status via GCode
*
* P<pin> Pin number (LED if omitted)
* For LPC1768 enter pin P1_20 as M42 P1.20
* For LPC1768 specify pin P1_02 as M42 P102,
* P1_20 as M42 P120, etc.
*
* S<byte> Pin status from 0 - 255
*/
void GcodeSuite::M42() {