Open FrightRisk opened 3 years ago
From Chris: "All these things either need surgery to the existing code or a hardware abstraction layer that allows the cs to be configured to weird and wonderful combinations of stuff without altering the base code. Using an input to sense A turnout state looks like an interesting possibility... but requires some code to logically connect the turnout object to the sensor object. Once that is done it would work for ANY kind of turnout hardware (dcc, servo etc) combined with any type of sensor hardware (direct pin, mcp23017 etc)"
Idea submitted by Travis. We will review and see about the feasibility of doing this.
Use a switch or other sensor to sense the position of a turnout rather than just forcing it to a position it may be in. Turnout and sensor will have to be linked (like in JMRI)