Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
Can the PwmOut handbook page please be updated so that it doesn't say that write and read values are to be specified in percentages?
Maybe something like this:
Note
write ............ Set the ouput duty-cycle, 0.0f to 1.0f, representing the percentage.
and
Note
A floating-point value representing the percentage output duty-cycle. The value should lie between 0.0f (representing on 0%) and 1.0f (representing on 100%). Values outside this range will be saturated to 0.0f or 1.0f.