Outils pour utilisateurs

Outils du site


attiny

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révisionLes deux révisions suivantes
attiny [2018/11/22 15:57] sergeattiny [2018/11/22 15:59] – [Test] serge
Ligne 63: Ligne 63:
 Voilà le sketch utilisé Voilà le sketch utilisé
  
-''%%void setup() {%%''\\ +<code> 
-\\ +void setup() { 
-''%% pinMode(4, OUTPUT);%%''\\ + 
-''%%}%%''\\ + pinMode(4, OUTPUT); 
-\\ +
-''%%void loop() {%%''\\ + 
-''%%  digitalWrite(4, HIGH);   // turn the LED on (HIGH is the voltage level)%%''\\ +void loop() { 
-''%%  delay(100);                       // wait for a second%%''\\ +  digitalWrite(4, HIGH);   // turn the LED on (HIGH is the voltage level
-''%%  digitalWrite(4, LOW);    // turn the LED off by making the voltage LOW%%''\\ +  delay(100);                       // wait for a second 
-''%%  delay(100);                       // wait for a second%%''\\ +  digitalWrite(4, LOW);    // turn the LED off by making the voltage LOW 
-''%%}%%''+  delay(100);                       // wait for a second 
 +} 
 +</code>
  
 Et voilà !!! Et voilà !!!
attiny.txt · Dernière modification : 2020/10/28 12:22 de serge