Fork of original FastPWM libary from Sissors.
Dependents: PM2_Libary PM2_Libary
Diff: FastPWM.h
- Revision:
- 36:1cc92cba9e04
- Parent:
- 12:4600daab8a83
- Child:
- 37:0ca2cf9a1437
diff -r d6c2b73d71f5 -r 1cc92cba9e04 FastPWM.h --- a/FastPWM.h Wed Oct 30 03:00:00 2019 +0000 +++ b/FastPWM.h Mon Jan 24 10:07:25 2022 +0000 @@ -44,6 +44,11 @@ void period(double seconds); /** + * Set the PWM period, specified in seconds (float), keeping the pulsewidth the same. + */ + void period(float seconds); + + /** * Set the PWM period, specified in milli-seconds (int), keeping the pulsewidth the same. */ void period_ms(int ms);