A PWM/duty cycle measurement library using Timer2

Dependents:   PWMAverage_test pwm_duty_measurement

Revision:
2:449ea283d634
Parent:
1:34a9269390d9
Child:
4:a3d3a60e30b7
--- a/PWMAverage.h	Wed Aug 29 11:44:01 2012 +0000
+++ b/PWMAverage.h	Wed Aug 29 11:47:48 2012 +0000
@@ -35,7 +35,7 @@
 
 /** A class for measuring PWM/Duty cycle of a signal connected to pins 30 and 29
  *
- *
+ * Example:
  * @code
  * // Measure and print the average duty cycle of a signal connected to p29 and p30 (together) while the button (p16) is pulled high
  *
@@ -71,15 +71,12 @@
  *     }
  * }
  * @endcode
- *
- *
  */
 class PWMAverage
 {
     public:
     /** Create a PWMAverage object
      * 
-     *
      * @param cap0 Pin connected to signal (ignored in program)
      * @param cap1 Pin connected to signal (ignored in program)
      */