Fork of original FastPWM libary from Sissors.
Dependents: PM2_Libary PM2_Libary
Diff: FastPWM.h
- Revision:
- 37:0ca2cf9a1437
- Parent:
- 36:1cc92cba9e04
--- a/FastPWM.h Mon Jan 24 10:07:25 2022 +0000 +++ b/FastPWM.h Mon Mar 21 13:31:01 2022 +0000 @@ -105,6 +105,7 @@ * @param duty - A double value representing the output duty-cycle, specified as a percentage. The value should lie between 0.0 (representing on 0%) and 1.0 (representing on 100%). */ void write(double duty); + void write(float duty); /** * Return the ouput duty-cycle, specified as a percentage (double)