DCC-EX / CommandStation-EX

EX-CommandStation firmware from DCC-EX. Includes support for WiFi and a standalone WiThrottle server. A complete re-write of the original DCC++.
https://dcc-ex.github.io/
GNU General Public License v3.0
156 stars 108 forks source link

Bug Report: EX-RAIL SIGNAL/SIGNALH inverted #294

Closed peteGSX closed 1 year ago

peteGSX commented 1 year ago

Version

v4.2.9pre1

Bug description

SIGNAL and SIGNALH are inverted.

Steps to reproduce the bug

Configure a signal using SIGNAL or SIGNALH. Operate the signal... SIGNAL is active high, SIGNALH is active low.

Expected behaviour

SIGNAL should be active low. SIGNALH should be active high.

Screenshots

No response

Hardware in use

Mega/Nucleo F411RE

Additional context

There is a bug in EX-RAIL doSignal where setPin(value^high flag) is backwards.