Closed
Description
The values of -180 and 180 suggest that the phase is specified in degrees, so +180 would mean "half a period later" and +90 would mean "quarter of a period later". However, currently +90 translates to "half period later" and +45 - to "quarter period later".
Also since the comment in pwm_set_phase() doesn't mention the exact semantics, it does likely confuse near 100% of users trying the API for the first time.
Metadata
Metadata
Assignees
Labels
No labels