Différences entre les versions de « Code (CDR2020) »
Aller à la navigation
Aller à la recherche
| Ligne 1 : | Ligne 1 : | ||
= Fonction Main = | == Fonction Main == | ||
#Initialisation | #Initialisation | ||
##Drivers | ##Drivers | ||
| Ligne 15 : | Ligne 15 : | ||
##Début du match | ##Début du match | ||
#Compteur global | #Compteur global | ||
= Programme Moteurs = | |||
= Fonction Initialisation_des_drivers= | == Fonction Initialisation_des_drivers== | ||
#Désactivation des moteurs | #Désactivation des moteurs | ||
#Rotation du moteur gauche vers l'avant | #Rotation du moteur gauche vers l'avant | ||
#Rotation du moteur droit vers l'avant | #Rotation du moteur droit vers l'avant | ||
= Fonction Rotation du moteur gauche vers l'avant = | == Fonction Rotation du moteur gauche vers l'avant == | ||
#Dirige le moteur gauche vers l'avant | #Dirige le moteur gauche vers l'avant | ||
= Fonction Rotation du moteur droit vers l'avant = | == Fonction Rotation du moteur droit vers l'avant == | ||
#Dirige le moteur droit vers l'avant | #Dirige le moteur droit vers l'avant | ||
= Fonction Rotation du moteur gauche vers l'arrière = | == Fonction Rotation du moteur gauche vers l'arrière == | ||
#Dirige le moteur gauche vers l'arrière | #Dirige le moteur gauche vers l'arrière | ||
= Fonction Rotation du moteur droit vers l'arrière = | == Fonction Rotation du moteur droit vers l'arrière == | ||
#Dirige le moteur droit vers l'arrière | #Dirige le moteur droit vers l'arrière | ||
Version du 10 novembre 2020 à 16:29
Fonction Main
- Initialisation
- Drivers
- Codeurs
- Broches
- Pavillons
- Timers et tikers
- Capteurs à ultrasons
- Debug
- PC et Blutooth
- Choix de la statégie
- Bleu ou jaune
- Boucle infinie
- Le match n'a pas encore commencé
- Début du match
- Compteur global
Programme Moteurs
Fonction Initialisation_des_drivers
- Désactivation des moteurs
- Rotation du moteur gauche vers l'avant
- Rotation du moteur droit vers l'avant
Fonction Rotation du moteur gauche vers l'avant
- Dirige le moteur gauche vers l'avant
Fonction Rotation du moteur droit vers l'avant
- Dirige le moteur droit vers l'avant
Fonction Rotation du moteur gauche vers l'arrière
- Dirige le moteur gauche vers l'arrière
Fonction Rotation du moteur droit vers l'arrière
- Dirige le moteur droit vers l'arrière