Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- Please, Don't Miss Visit My Site:
- https://global-prog.com
- */
- int LED_Pin = 5;
- void setup()
- {
- /* ####### This code will running for once ######## */
- pinMode(LED_Pin,OUTPUT); // Make the LED_Pin as an output pin.
- digitalWrite(LED_Pin,HIGH); // Turn the LED ON.
- delay(250); // Waiting for a 250-milliseconds
- digitalWrite(LED_Pin,LOW); // Turn the LED OFF.
- delay(250); // Waiting for a 250-milliseconds
- }
- void loop()
- {
- /* This code will running as repeatedly */
- digitalWrite(LED_Pin,HIGH); // Turn the LED ON.
- delay(500); // Waiting for a 500-milliseconds
- digitalWrite(LED_Pin,LOW); // Turn the LED OFF.
- delay(1000); // Waiting for a second = 1000 mS.
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement