The PIC the BS2 is based on has "protection diodes", which will allow it to recieve a 12 volt signal IF AND ONLY IF you put a 22 KOhm resistor in series with the signal.
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)
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)
·