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
pin-configuration [2017/01/25 15:45]
arthur
pin-configuration [2017/11/13 21:28] (current)
arthur
Line 1: Line 1:
 A "​pin"​ is an input or output on the Smoothieboard. ​ A "​pin"​ is an input or output on the Smoothieboard. ​
 +
 +In a lot of cases ( step/​direction for external stepper motors, button inputs ), you can use any pin for any use. 
 +
 +If other cases, a given pin is tied to a given peripheral on the board. ​
 +
 +See [[http://​smoothieware.org/​pinout|Pinout]] to learn about which pins are where. ​
 +
 +You can have a pin's output inverted by adding a **"​!"​** after this pin's number in the config line, example : 
 +
 +<​code>​
 +my_pin_name ​                     19!
 +</​code>​
 +
 +There are other modifiers for pins :
 +
 +<callout type="​primary"​ icon="​true"​ title="​ All options">​
 +
 +|| ! || Exclamation mark || Invert pin ||
 +|| o || Lowercase O letter || Set pin to open drain ||
 +|| ^ || [[https://​en.wikipedia.org/​wiki/​Caret|Caret]],​ Shift+6 on QWERTY keyboards || Set pin to pull up (Default on most pins) ||
 +|| v || Lowercase v letter || Set pin to pull down ||
 +|| - || Minus sign || To set no pullup ||
 +|| @ || At / Arobase sign || To set repeater mode ||
 +
 +</​callout>​