You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have the similar problem as #499. But in addition to this, I would like to use channels without binding to timers and their channels.
Is there any way to erase the timer and channel? To use a channel in an array for example.
let pins = (Channel1::new(gpioa.pa0),Channel2::new(gpioa.pa1));letmut pwm = dp.TIM5.pwm_hz(pins,1.kHz(),&clocks).split();letmut channels = [pwm.0, pwm.1];
| ^^^^^ expected `0`, found `1`
|
= note: expected struct `PwmChannel<_,0, _>`
found struct `PwmChannel<_,1, _>`
I have the similar problem as #499. But in addition to this, I would like to use channels without binding to timers and their channels.
Is there any way to erase the timer and channel? To use a channel in an array for example.
Or like this
The text was updated successfully, but these errors were encountered: