Hackster is hosting Hackster Holidays, Ep. 4: Livestream & Giveaway Drawing. Start streaming on Wednesday!Stream Hackster Holidays, Ep. 4 on Wednesday!
notgoodprogrammer
Published © LGPL

Make a simple LED flash!

If you are just starting out on coding with Arduino, this tutorial may be for you!

BeginnerFull instructions provided1,570
Make a simple LED flash!

Things used in this project

Hardware components

USB-A to Mini-USB Cable
USB-A to Mini-USB Cable
×1
Jumper wires (generic)
Jumper wires (generic)
×2
LED (generic)
LED (generic)
×1

Software apps and online services

Arduino IDE
Arduino IDE

Story

Read more

Schematics

Blinking LED Diagram

Fritzing Project

Blinking LED Diagram

Code

Blinking LED

C#
Part of my tutorial
const int redLED = 13;
void setup() {
  pinMode(redLED, OUTPUT);
  // put your setup code here, to run once:

}

void loop() {
  digitalWrite(redLED, HIGH);
  delay(1000);
  digitalWrite(redLED, LOW);
  delay(1000);
  
  // put your main code here, to run repeatedly:

}

GitHub Repo

Credits

notgoodprogrammer

notgoodprogrammer

0 projects • 0 followers

Comments