Muhammad Afzal
Published © Apache-2.0

Getting Started with Arduino/Genuino 101

This post will demonstrate how to configure Arduino/Genuino 101 for the first time and blink a LED.

BeginnerShowcase (no instructions)30 minutes4,699
Getting Started with Arduino/Genuino 101

Things used in this project

Story

Read more

Code

Blink Led Code

Arduino
// the setup function runs once when you press reset or power the board
void setup() {
  // initialize digital pin 13 as an output.
  pinMode(7, OUTPUT);
}

// the loop function runs over and over again forever
void loop() {
  digitalWrite(7, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(1000);              // wait for a second
  digitalWrite(7, LOW);    // turn the LED off by making the voltage LOW
  delay(1000);              // wait for a second
}

Credits

Muhammad Afzal

Muhammad Afzal

18 projects • 74 followers
I am Software Eng having 9+ Years of experience. Hackster.io & Cayenne Mydevices Ambassador in Pakistan.

Comments