Hi all,
I've been wrestling with a Due for a while now. I would like to continually power the Due, while allowing for connection and disconnection of serial through the native port. I've got this part worked out.
However, the intended use is for controlling some valves, and I would like to be able to set pins to high and low through multiple cycles of serial connection (ie have the Due powered but disconnected from serial for a few hours, not adjust any pins, reconnect to serial, adjust pins, disconnect, so on and so forth).
The bit I can seem to figure out is how to control only 1 pin at a time, it seems as though whenever a new serial connection is made, all pins drift towards floating.
For instance, all the pins are set to HIGH, I select one particular pin to go LOW, but it seems to drag its neighbor low also. This cannot happen, but I've got no clue where to pin the issue to.
Any advice would be warmly welcomed...
-GN