DCC-EX / EX-Turntable

Turntable-EX is a new feature to control a stepper motor based turntable from DCC++ EX
GNU General Public License v3.0
6 stars 5 forks source link

Homing bugfix #10

Closed peteGSX closed 2 years ago

peteGSX commented 2 years ago

Both homing bugs are resolved by this:

https://github.com/DCC-EX/Turntable-EX/issues/3

https://github.com/DCC-EX/Turntable-EX/issues/4

Updated logic now simply uses a homed flag and the existing stepper.run() in the main loop() to keep rotating until such time as the home sensor has triggered.

This now also allows the SERVO command to successfully trigger a homing activity by sending the profile value 2.