https://wokwi.com/projects/442449299976504321

Code Sketch .ino pour arduino UNO

#define LED 13
void setup() {
  // put your setup code here, to run once:
  // on va mettre en sortie la broche 13 de l'arduino PB5 du ATMEFA 328P 
  pinMode(LED, OUTPUT);  /* sur le schéma de cablage on voit que la broche 13 est sur la LED L */
}

void loop() {
  // put your main code here, to run repeatedly:
  // on va faire une boucle infini .. tant qu'il y a de l'alim ...
  for (;;)
  {
    digitalWrite(LED, HIGH);
    delay(500);
    digitalWrite(LED, LOW);
    delay(500);
  }
}
https://wokwi.com/projects/442449299976504321
Please fill the Iframe URL