can a pin become ground?
mashersmasher
Posts: 7
i have a bs2 and i was wondering if a pin can be set to ground. if so what is the command? and can it accept 12 volts without burning?
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Stephen
And digital I/O can 'source' current and output a high voltage, or 'sink' current and provide a link to ground. But you have to do something to limit the current -- like put a resistor in series with the signal.
And the command to do that is "LOW <pin_Number>" (where <pin_number> is replaced by a number, like 0, 1, 2)
·