Fork of original FastPWM libary from Sissors.
Dependents: PM2_Libary PM2_Libary
Diff: FastPWM_common.cpp
- Revision:
- 38:b83caa1bcbc7
- Parent:
- 37:0ca2cf9a1437
--- a/FastPWM_common.cpp Mon Mar 21 13:31:01 2022 +0000
+++ b/FastPWM_common.cpp Mon Mar 21 14:03:24 2022 +0000
@@ -7,9 +7,7 @@
//Set duty cycle on 0%, period on 20ms
period(0.02);
- write(0);
-
-
+ write(0.0);
}
FastPWM::~FastPWM( void ) {