Main > Raspberry Pi & Dev Board
Arduino code
baritonomarchetto:
You can pull high or low pins both setting them as input (by external trigger) or output (by internal trigger). The main difference is the high impedence of pins set as input (and other things the IDE sets for you).
When using the pin as input be sure to connect a pulldown resistor or activate the internal pullup resistor (see arduino basics for this: there are tons of examples for starters included with the IDE)
Navigation
[0] Message Index
[*] Previous page
Go to full version