Algorithm
- 1. START
- 2. Check for speed switch
- 3. Run fan with selected speed, Display LED ‘ON’
- 4. Check for mode switch
- 5. If mode switch is off, then step 2
- 6. Reset internal timer and Start internal timer
- 7. If timer not set, then step 6
- 8. Check for time switch
- 9. If timer less than time switch, then step 7
- 10. Decrease speed level to next lower level
- 11. If speed level not equal to level zero, then step 4
- 12. Stop fan, Display LED ‘OFF’
- 13. STOP
No comments:
Post a Comment