Hi!
I would like to be able to clear an emergency stop by a dedicated button on the layout.?
I've seen there is a way to connect Raspberry Pi IO ports as JMRI Sensors and there is a description on this page how to add a new sensor .
But I haven't understood how I set up a sensor so something happens when it is triggered. And I've especially not found how to trigger a "restore power"..
Is there any examples or similar of the code needed to restore power based on Sensor events?
Thanks for your support
Olof
System: JMRI running on a Raspberry Pi3 connected to the layout with a Pi-SPROG.