From dcbbc39c7a1b7af1fe4accd5ffcc26f14ba2a4b9 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Tue, 22 Mar 2016 17:52:50 -0700 Subject: [PATCH] Updated M42 (mediawiki) --- M42.mediawiki | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/M42.mediawiki b/M42.mediawiki index d1ab985..a019749 100644 --- a/M42.mediawiki +++ b/M42.mediawiki @@ -1,13 +1,13 @@ -==== Description ==== += Description = Directly change a hardware pin's state. If no pin is specified, the LED pin is assumed. -==== Example ==== += Example = M42 P9 S1 Set the state of Pin 9 to 1. -==== Arguments ==== += Arguments = P An optional pin number. If omitted use the LED pin. S Required. The state value to set, 0-255. -==== Discussion ==== += Discussion = M42 immediately changes a hardware pin's state. This can cause bad things to happen if not used correctly. Use with caution! If you need the pin change to wait for the last-queued move, precede it with [[M400]].