Continuously vary LED brightness between completely dark and fully lite.
Diff: Glowing.h
- Revision:
- 1:eef7593bdcc5
- Parent:
- 0:26c09c4aba81
--- a/Glowing.h Wed Dec 29 03:32:39 2010 +0000 +++ b/Glowing.h Thu Dec 30 04:22:45 2010 +0000 @@ -35,7 +35,7 @@ * Example: * @code * #include "Glowing.h" - * // Method A use LED1, run full cycle in 2 seconds in + * // Run full cycle in 2 seconds in * // 500 steps and begins with step 100 * { * Glowing *glow = new Glowing(LED1, 2.0, 500, 100); @@ -44,14 +44,6 @@ * glow->Stop(); * } * - * // Method B use LED2, run full cycle in 3 seconds in - * // 100 step (default) and begins with step 0 (default). - * { - * Glowing led(LED2, 3.0); - * led.Start(); - * . . . - * led.Stop(); - * } * @endcode * */ @@ -90,7 +82,6 @@ int s_next_v; bool s_running; - float c_circle; float c_step_time; float c_step_gradient;