Test

Dependencies:   mbed DRV8825

Committer:
Nanaud
Date:
Wed Oct 07 20:00:45 2020 +0000
Revision:
18:48246daf0c06
Parent:
16:ae65ce77b1f9
Child:
22:f891c2bce091
Deplacements ok

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Nanaud 1:2fe8c402ee79 1 // Nom du fichier : motors.h
Nanaud 0:dc036b67c87c 2
Nanaud 1:2fe8c402ee79 3 // Prototypes
Nanaud 0:dc036b67c87c 4 void drv_init();
Nanaud 0:dc036b67c87c 5
Nanaud 0:dc036b67c87c 6 void mot_en();
Nanaud 0:dc036b67c87c 7 void mot_dis();
Nanaud 10:0714feaaaee1 8 void motG_en();
Nanaud 10:0714feaaaee1 9 void motD_en();
Nanaud 10:0714feaaaee1 10 void motG_dis();
Nanaud 10:0714feaaaee1 11 void motD_dis();
Nanaud 0:dc036b67c87c 12 void motGauche_fwd();
Nanaud 0:dc036b67c87c 13 void motDroite_fwd();
Nanaud 0:dc036b67c87c 14 void motGauche_bck();
Nanaud 3:3ba377aafdfd 15 void motDroite_bck();
Nanaud 18:48246daf0c06 16 void vitesseMotG(double vitesse);
Nanaud 18:48246daf0c06 17 void vitesseMotD(double vitesse);
Nanaud 3:3ba377aafdfd 18
Nanaud 3:3ba377aafdfd 19 void test_drv();
Nanaud 5:34ed652f8c31 20 void testAngle(int cmdAngle);
Nanaud 10:0714feaaaee1 21 //double mot_acc(double vit,double distanceParcourue, double distAfaire);
Nanaud 10:0714feaaaee1 22 //double mot_dec(double vit,double distanceParcourue, double distAfaire);
Nanaud 10:0714feaaaee1 23 void mot_acc();
Nanaud 10:0714feaaaee1 24 void mot_dec();