Class GpioPinDigitalInputSimulator

java.lang.Object
jmri.jmrix.pi.simulator.GpioPinDigitalInputSimulator

Simulates a digital input GPIO pin for the JMRI Raspberry Pi simulator. Pure JMRI implementation — no Pi4J dependency.

The initial state is HIGH so that sensors constructed in tests start as Sensor.ACTIVE, preserving the behaviour of the former PiGpioProviderScaffold which returned PinState.HIGH.