Lib herkulex utilisée pour la carte du phare
Revision 19:aaa97ea138fd, committed 2021-07-12
- Comitter:
- thesnowfoxy
- Date:
- Mon Jul 12 13:10:29 2021 +0000
- Parent:
- 18:41bce61db461
- Commit message:
- -
Changed in this revision
fonctions_herkulex.cpp | Show annotated file Show diff for this revision Revisions of this file |
fonctions_herkulex.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r 41bce61db461 -r aaa97ea138fd fonctions_herkulex.cpp --- a/fonctions_herkulex.cpp Mon May 10 09:10:18 2021 +0000 +++ b/fonctions_herkulex.cpp Mon Jul 12 13:10:29 2021 +0000 @@ -8,10 +8,10 @@ //RawSerial pc(USBTX, USBRX,115200); RawSerial serial1(PB_6,PB_7,115200); // P : 41 et 42 -RawSerial serial2(PC_12,PD_2,115200); // P : 43 et 47 -RawSerial serial3(PC_10,PC_11,115200); // P : 44 et 48 -RawSerial serial4(PC_6,PC_7,115200); // P : 45 -RawSerial serial5(PA_0,PA_1,115200); // P : 46 +RawSerial serial2(PA_2,PA_3,115200); // P : 43 et 47 +RawSerial serial3(PA_2,PA_3,115200); // P : 44 et 48 +RawSerial serial4(PA_2,PA_3,115200); // P : 45 +RawSerial serial5(PA_2,PA_3,115200); // P : 46 //----------------------------variables de reception----------------------------
diff -r 41bce61db461 -r aaa97ea138fd fonctions_herkulex.h --- a/fonctions_herkulex.h Mon May 10 09:10:18 2021 +0000 +++ b/fonctions_herkulex.h Mon Jul 12 13:10:29 2021 +0000 @@ -1,7 +1,7 @@ #ifndef LIB_HERKULEX_H #define LIB_HERKULEX_H #include "mbed.h" -#include "main.h" + //#define ID 0xFD //=253 // Herkulex ROM Register @@ -190,7 +190,7 @@ //------------------------------------------------------------------------------ //------------------------------------------a choisir--------------------------- -#define nombre_servomoteur 3 // +#define nombre_servomoteur 4 //