Y SI / lib_PwmOutAllPin
Revision:
3:1d1669e8c9b1
Parent:
1:8067d51d66bd
Child:
5:0f5ad06f23c0
--- 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
  */