rafu
Published © CC0

Internal Led blink

Exemple simple pour faire clignoter la Led interne

BeginnerProtip76,174
Internal Led blink

Things used in this project

Story

Read more

Code

Led blink

Arduino
Simple example
void setup() {
  // initialize digital pin LED_BUILTIN as an output.
  pinMode(LED_BUILTIN, OUTPUT);
}

// the loop function runs over and over again forever
void loop() {
  digitalWrite(LED_BUILTIN, HIGH);   // turn the LED on 
  delay(500);                       // wait for half a second
  digitalWrite(LED_BUILTIN, LOW);    // turn the LED off 
  delay(500);                       // wait for half a second
}

Credits

rafu

rafu

0 projects • 0 followers
Actually, I'm a development manager for a company mainly involved in professionnal entertainment lighting (opera, theatre, stage, etc.).

Comments