Modifications

Sauter à la navigation Sauter à la recherche
28 octets ajoutés ,  13 mars 2018 à 15:38
aucun résumé de modification
Ligne 308 : Ligne 308 :  
   afficheurs.writeDisplay();
 
   afficheurs.writeDisplay();
 
  }
 
  }
 +
</syntaxhighlight>
 +
 +
<syntaxhighlight lang="c">
 +
/*     
 +
* Afficher l'heure
 +
*/
 +
void afficherTemps(){
 +
  DateTime maintenant = rtc.now();
 +
  // Dessiner minutes
 +
  affichageMinutes( maintenant.minute(), true );
 +
  // Dessiner heures
 +
  affichageHeures( maintenant.hour(), true );
 +
}
 
</syntaxhighlight>
 
</syntaxhighlight>
   Ligne 330 : Ligne 343 :     
<syntaxhighlight lang="c">
 
<syntaxhighlight lang="c">
/*     
  −
* Afficher l'heure
  −
*/
  −
void afficherTemps(){
  −
  DateTime maintenant = rtc.now();
  −
  // Dessiner minutes
  −
  affichageMinutes( maintenant.minute(), true );
  −
  // Dessiner heures
  −
  affichageHeures( maintenant.hour(), true );
  −
}
  −
</syntaxhighlight>
      
'''Fonction qui vérfie si la seconde est passée.'''
 
'''Fonction qui vérfie si la seconde est passée.'''

Menu de navigation