nielsonm236 / NetMod-ServerApp

Reprogramming the Web_Relay_Con V2.0 HW-584 Network Module
72 stars 23 forks source link

Switching Pinout Option when some outputs are already on prevents those outputs from turning off #182

Closed nielsonm236 closed 1 year ago

nielsonm236 commented 1 year ago

If I have Pinout Option 1 (the normal IO to Pin mapping), all outputs are OFF, and I then switch to Pinout Option 2, all pins seem to operate normally. However, if I have Pinout Option 1, have a few pins ON, and then I switch to Pinout Option 2, those pins that were ON stay ON and cannot be turned off. This is weird and will be difficult to diagnose as I can't run the UART when using alternate pinouts. I may be forced to turn all outputs OFF before allowing a change to the Pinout Option. That shouldn't hurt anything as changing Pinout Options moves the pins all around anyway, so having them switch OFF as part of that process should be fine.

nielsonm236 commented 1 year ago

Arrrgh ... false alarm. I had some pins disabled that just happened to exactly correspond to the pins I was using as test output when remapped. "Disabled" floats to a logic 1, which made the pins look like they were on. What are the chances.