58ab5844cb
A previous fix improved the duty_cycle channel value computation by removing the reliance on the PER register which gave old values. It saved the period on the object but failed to set anything for reused timers. So, this breaks it out into a separate array that can be shared across all object regardless of whether it used a new or existing timer. |
||
---|---|---|
.. | ||
PWMOut.c | ||
PWMOut.h | ||
PulseIn.c | ||
PulseIn.h | ||
PulseOut.c | ||
PulseOut.h | ||
__init__.c |