arduino / arduino/ArduinoCore-mbed
Portenta: PWM on HRTIM has inverted corner case values
Open
bug
Portenta
- Dominant language
- C
- Stars
- 411
- Forks
- 225
- PR merge metrics
- No merged PRs in 30d
Description
On Portenta H7, writing `analogWrite(3, 255)` results in a signal with 0% duty cycle, while `analogWrite(3, 0)` is 100%
`analogWrite(3, n)` , on the other hand, has exactly the expected duty (n/256)
See https://github.com/arduino/ArduinoCore-mbed/issues/351#issuecomment-947423777
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.