JohnCallingham / MQTTInterface

An interface between JMRI and sensors, servos and relays.
GNU General Public License v3.0
1 stars 0 forks source link

TO DO - on startup drive servos to mid point #13

Closed JohnCallingham closed 3 years ago

JohnCallingham commented 3 years ago

Should this be 90 degrees or the mid point between thrown and closed?

JohnCallingham commented 3 years ago

Use as an indication that all has started correctly.

JohnCallingham commented 3 years ago

Code modified to move all servos to 90 degrees when initialising. They will move back to the last known position when they subscribe to their topic and receive the last (retained) message from JMRI. This indicates that the code is running, but not sure if it is a good idea to move all turnouts on startup.