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
Last revision Both sides next revision
pin-configuration [2017/01/25 16:21]
arthur
pin-configuration [2017/03/18 00:07]
wolfmanjm
Line 9: Line 9:
 You can have a pin's output inverted by adding a **"​!"​** after this pin's number in the config line, example :  You can have a pin's output inverted by adding a **"​!"​** after this pin's number in the config line, example : 
  
-[[code]]+<code>
 my_pin_name ​                     19! my_pin_name ​                     19!
-[[/code]]+</code>
  
 There are other modifiers for pins : There are other modifiers for pins :
Line 19: Line 19:
 || ! || invert pin || || ! || invert pin ||
 || o || set pin to open drain || || o || set pin to open drain ||
-|| ^ || set pin to pull up ||+|| ^ || set pin to pull up (Default on most pins) ||
 || v || set pin to pull down || || v || set pin to pull down ||
 || - || to set no pullup || || - || to set no pullup ||