Fork of original FastPWM libary from Sissors.

Dependents:   PM2_Libary PM2_Libary

Files at this revision

API Documentation at this revision

Comitter:
pmic
Date:
Mon Mar 21 14:03:24 2022 +0000
Parent:
37:0ca2cf9a1437
Commit message:
Bugfix.

Changed in this revision

FastPWM_common.cpp Show annotated file Show diff for this revision Revisions of this file
--- 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 ) {