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.
Fork of Serial_HelloWorld_Mbed by
Revision 4:0cab1f60b700, committed 2015-05-27
- Comitter:
- dbrousse
- Date:
- Wed May 27 14:46:59 2015 +0000
- Parent:
- 1:b9cade20e07e
- Commit message:
- mesure pression
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Wed May 27 14:21:44 2015 +0000 +++ b/main.cpp Wed May 27 14:46:59 2015 +0000 @@ -1,14 +1,16 @@ /************************************ -* DB le 25/03/2015 +* DB le 25/03/2015 modif le 27/05/2015 * Pilotage AX-12A avec liaison série : Trame VoiceTronics2015 * Piloter les positions * Débit = 1Mbit/s +* commande 0/10volt Ok +* mesure pression avec filtrage par moyenne *************************************/ #include "mbed.h" #include "MX-28_DefConstantes.h" -#define NBRE_ACK 256 // nombre d'acquisition pour la moyenne mesure pression +#define NBRE_ACK 256 // nombre d'acquisition pour la moyenne sur mesure pression DigitalOut led01(LED1); DigitalOut led02(LED2);