Advertisement
belrey10

Day 1: Getting Set Up with HERO Board

Nov 2nd, 2024 (edited)
165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. void setup() {
  2.   pinMode(LED_BUILTIN, OUTPUT);  // sets the pin for the built in LED as output
  3. }
  4.  
  5. void loop() {
  6.   digitalWrite(LED_BUILTIN, HIGH);  // turns the LED on
  7.   delay(1000);                      // waits for a second
  8.   digitalWrite(LED_BUILTIN, LOW);   // turns the LED off
  9.   delay(1000);                      // waits for a second
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement