Code (CDR2020)

De Ares Wiki
Aller à la navigation Aller à la recherche

Fonction Main

  1. Initialisation
    1. Drivers
    2. Codeurs
    3. Broches
    4. Pavillons
    5. Timers et tikers
    6. Capteurs à ultrasons
  2. Debug
    1. PC et Blutooth
  3. Choix de la statégie
    1. Bleu ou jaune
  4. Boucle infinie
    1. Le match n'a pas encore commencé
    2. Début du match
  5. Compteur global

Programme Moteurs

Fonction Initialisation_des_drivers

  1. Désactivation des moteurs
  2. Rotation du moteur gauche vers l'avant
  3. Rotation du moteur droit vers l'avant

Fonction Rotation du moteur gauche vers l'avant

  1. Dirige le moteur gauche vers l'avant

Fonction Rotation du moteur droit vers l'avant

  1. Dirige le moteur droit vers l'avant

Fonction Rotation du moteur gauche vers l'arrière

  1. Dirige le moteur gauche vers l'arrière

Fonction Rotation du moteur droit vers l'arrière

  1. Dirige le moteur droit vers l'arrière