Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: lib_PwmOutAllPin.cpp
- Revision:
- 3:1d1669e8c9b1
- Parent:
- 1:8067d51d66bd
- Child:
- 5:0f5ad06f23c0
diff -r 4673fac2ae7f -r 1d1669e8c9b1 lib_PwmOutAllPin.cpp
--- a/lib_PwmOutAllPin.cpp	Fri Jul 10 14:10:46 2015 +0000
+++ b/lib_PwmOutAllPin.cpp	Fri Oct 23 08:16:58 2015 +0000
@@ -1,6 +1,37 @@
+/** Lib PwmOutAllPin
+*
+* Copyright (c) 2014, cstyles (http://mbed.org)
+*
+* Exemple:
+* @code
+* #include "mbed.h"
+* #include "lib_PwmOutAllPin.h"
+* 
+* PwmOutAllPin pin1(p20);
+* PwmOutAllPin pin2(p12);
+* 
+* int main()
+* {
+*     pin2.period(0.0002);
+*     pin2 = 0.25;
+*     pin1 = 0.5;
+*     pin1.period_us(20);
+* 
+*     while(1)
+*     {
+*     	wait(0.25);
+*     }
+* }
+* @endcode
+* @file          lib_PwmOutAllPin.h 
+* @purpose       library for PwmOut on all pins
+* @date          2015
+* @author        Yannic Simon
+*/
+
 #include "lib_PwmOutAllPin.h"
 
-/** Crée un PwmOutAllPin connecté à la pin spécifié
+/** Crée un PwmOutAllPin connecté à la pin spécifiée
  *
  *  @param pin Pin à connecter
  */