Another batch of generic development changes in one branch:
Adds linked available functions to the management class, to check if any or all of the servo objects have been updated.
Adds "deadzone" mapping functions which remap the same as map but with a specified deadzone in the middle of the range that returns the center output value. Good for bidirectional RC inputs like throttle and steering.
Add getHead and getNext functions for getting linked list pointers, and subsequently removed the manager friend class relationship.
Adds read function for blocking reads, for those cases where a pin is not interrupt capable in any capacity or interrupts are disabled. 25 ms max per read.
Refactored pin() as getPin() to match the other "get" functions.
Created a platform header for IO register definitions, using preprocessor defines
Adds support for the ESP8266 (tested!) and ESP32 (not so tested!)
Another batch of generic development changes in one branch:
available
functions to the management class, to check if any or all of the servo objects have been updated.map
but with a specified deadzone in the middle of the range that returns the center output value. Good for bidirectional RC inputs like throttle and steering.getHead
andgetNext
functions for getting linked list pointers, and subsequently removed the manager friend class relationship.read
function for blocking reads, for those cases where a pin is not interrupt capable in any capacity or interrupts are disabled. 25 ms max per read.pin()
asgetPin()
to match the other "get" functions.