Couldn't find any more appropriate place to put this...
Found (what I believe to be) a bug in the Zero_Timer-master code:
***************
*** 442,449 ****
return false;
_pwm_channel[channum].enabled = true;
! _pwm_channel[channum].pin_out = pin;
_pwm_channel[channum].pin_mux = pinmux;
}
// re-init
--- 454,467 ----
return false;
_pwm_channel[channum].enabled = true;
! _pwm_channel[channum].pin_out = pinout;
_pwm_channel[channum].pin_mux = pinmux;
Zero_Timer bug.
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_mike
- Posts: 67485
- Joined: Thu Feb 11, 2010 2:51 pm
Re: Zero_Timer bug.
I'll have the folks who handle that library check it out. Thanks!
To help them along, what problem does the existing code cause, and how does the patch above fix it?
To help them along, what problem does the existing code cause, and how does the patch above fix it?
- smp
- Posts: 52
- Joined: Tue Dec 18, 2018 4:40 pm
Re: Zero_Timer bug.
I haven't even gotten it to work yet, but if you read the code in that routine from top to bottom its obvious.
Please be positive and constructive with your questions and comments.