Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
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 |
--- 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----------------------------
--- 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 //