MobiFlight / MobiFlight-Connector

MobiFlight is an open source project that allows you to create your own home cockpit for your favorite flight simulator in a flexible, affordable and extremely user-friendly way.
https://mobiflight.com
MIT License
233 stars 104 forks source link

Negative Test Values for Stepper Motors #1141

Closed CaptainBobSim closed 1 year ago

CaptainBobSim commented 1 year ago

It used to be possible to set a negative test value - to turn the stepper counterclockwise.

I always found this helpful for the Turn Coordinator, as I could check that both left and right operations are working smoothly.

This can also be helpful for heading indicators and other instruments that do not have an absolute zero.

Describe the solution you'd like I'd like no errors to appear when selecting a negative test value.

Describe alternatives you've considered Reverse stepper wiring (not great) Adjusting my zero and compensating (I'd prefer the zero point to be neutral)

Additional context Latest beta using x27 stepper. image

DocMoebiuz commented 1 year ago

True, i basically reused another check... it is OK to have negative numbers. So the check has to be just checking for "numbers"