First of all, this commit fixes #57. Turns out that the prescaler value isn't applied until after an "update" event which gets triggered when the counter resets. This commit makes the update event trigger in the start function and then resets the uif flag which would otherwise indicate that the timer is already done.
This also fixes an issue where the following program would not wait for the second timer
First of all, this commit fixes #57. Turns out that the prescaler value isn't applied until after an "update" event which gets triggered when the counter resets. This commit makes the update event trigger in the start function and then resets the
uif
flag which would otherwise indicate that the timer is already done.This also fixes an issue where the following program would not wait for the second timer