Guest User

Blink.ino

a guest
Jul 17th, 2021
47
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // the setup function runs once when you press reset or power the board
  2. void setup() {
  3.   // initialize digital pin LED_BUILTIN as an output.
  4.   pinMode(8, OUTPUT);
  5. }
  6.  
  7. // the loop function runs over and over again forever
  8. void loop() {
  9.   digitalWrite(8, HIGH);   // turn the LED on (HIGH is the voltage level)
  10.   delay(1000);                       // wait for a second
  11.   digitalWrite(8, LOW);    // turn the LED off by making the voltage LOW
  12.   delay(1000);                       // wait for a second
  13. }
RAW Paste Data