This PR has a number of unrelated changes to the library:
available() now only returns true if the servo state has been updated in the isr, and not only if the saved pulse value is in a valid range. This resets to "false" if the user reads the servo pulse from any function.
Creates the "Remapping" example, showing how to map the servo state to different ranges
Use static range values for pulse min/max defaults, and adds the resetRange() function.
This also tweaks the ids and language of the "Loopback" example and removes the "ranged" constructor from the signal parent class.
First development pull request! Yay.
This PR has a number of unrelated changes to the library:
available()
now only returns true if the servo state has been updated in the isr, and not only if the saved pulse value is in a valid range. This resets to "false" if the user reads the servo pulse from any function.resetRange()
function.This also tweaks the ids and language of the "Loopback" example and removes the "ranged" constructor from the signal parent class.