Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void setup(){
- pinMode(1, OUTPUT);
- pinMode(2, OUTPUT);
- pinMode(3, OUTPUT);
- pinMode(4, OUTPUT);
- }
- void loop(){
- // Fan 1
- digitalWrite(1, HIGH);
- delay(600000);
- digitalWrite(1, LOW);
- // 5 Second Pause Before Next Fan Turns on
- delay(5000);
- // Fan 2
- digitalWrite(2, HIGH);
- delay(600000);
- digitalWrite(2, LOW);
- // 5 Second Pause Before Next Fan Turns on
- delay(5000);
- // Fan 3
- digitalWrite(3, HIGH);
- delay(600000);
- digitalWrite(3, LOW);
- // 5 Second Pause Before Next Fan Turns on
- delay(5000);
- // Fan 4
- digitalWrite(4, HIGH);
- delay(600000);
- digitalWrite(4, LOW);
- // 5 Second Pause Before Next Fan Turns on
- delay(5000);
- }
Add Comment
Please, Sign In to add comment