What's the easiest way to "connect" 2 pins? Should I use digitalWrite, pin.write with a timeout, analogWrite, or something else? Also should I use 2 pins, or can I use 1 pin with ground? I'm wanting to use Espruino to "press" the reset button on a PC by wiring the green/black wires to it...
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
What's the easiest way to "connect" 2 pins? Should I use digitalWrite, pin.write with a timeout, analogWrite, or something else? Also should I use 2 pins, or can I use 1 pin with ground? I'm wanting to use Espruino to "press" the reset button on a PC by wiring the green/black wires to it...
Thanks,
Austin