theelims / StrokeEngine

A library to create a variety of stroking motions with a stepper or servo motor on an ESP32.
MIT License
30 stars 13 forks source link

Feature/read out settings #2

Closed PrivateParrot closed 3 years ago

PrivateParrot commented 3 years ago

Introduction This pull request makes it possible to read out the values used in the stroke engine.

The main use case is to only calculate constraints in one place. If for example depth is set beyond travel, the stroke engine will constrain it, but the service whom gave the order will not know that. Now it becomes possible to return the value and correctly display it.