Skip to content

Instantly share code, notes, and snippets.

@ypelletier
Last active December 11, 2018 23:04
Sketch minimaliste pour contrôler un relais
/*
https://electroniqueamateur.blogspot.com/2017/03/les-relais-electromecaniques.html
*/
void setup() {
pinMode(8, OUTPUT);
}
void loop() {
digitalWrite(8, HIGH);
delay(5000);
digitalWrite(8, LOW);
delay(5000);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment