Programme d'utilisation des AX12 et de l'MX12 V3. 0C = action de l'MX12. (data0) 0 | 1 | 2 = position & sens de rotation
Dependencies: MX12
Fork of Utilisatio_MX12_V3 by
Revision 5:bb953eda06e7, committed 2017-05-20
- Comitter:
- R66Y
- Date:
- Sat May 20 18:12:28 2017 +0000
- Parent:
- 4:0972025782f3
- Commit message:
- Derni?re version de l'MX12.;
Changed in this revision
Actionneur.cpp | Show annotated file Show diff for this revision Revisions of this file |
MX12.lib | Show annotated file Show diff for this revision Revisions of this file |
--- a/Actionneur.cpp Sat May 20 16:16:00 2017 +0000 +++ b/Actionneur.cpp Sat May 20 18:12:28 2017 +0000 @@ -56,7 +56,7 @@ { short vitesse=700; - TrappeLanceur = new AX12(p9, p10, 1, 1000000); // MX12 + TrappeLanceur = new AX12(p9, p10, 12, 1000000); // MX12 HautBrasPompe = new AX12(p9, p10, 3, 1000000); MilieuBrasPompe = new AX12(p9, p10, 2, 1000000); @@ -70,8 +70,6 @@ MilieuBrasPompe->Set_Goal_speed(vitesse); BasBrasPompe->Set_Goal_speed(vitesse); - TrappeLanceur->Set_Mode(0); // MX12 - HautBrasPompe->Set_Mode(0); MilieuBrasPompe->Set_Mode(0); BasBrasPompe->Set_Mode(0);
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/MX12.lib Sat May 20 18:12:28 2017 +0000 @@ -0,0 +1,1 @@ +https://mbed.org/users/labmrd/code/MX12/#4c118a827f11