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.
Dependencies: mbed
system.h
00001 /******************************************************************************* 00002 system.h -> fichier de configuration 00003 00004 Lignes en Entrées/Sorties 00005 Lignes en Entrées analogiques 00006 Lignes associées aux bus (série, I2C, SPI) 00007 *******************************************************************************/ 00008 00009 Serial pc(USBTX, USBRX); // Dialogue UART par USB à 9600 Baud sur carte Nucléo 00010 00011 //DigitalOut DEL(LED1); // Ligne PB_3 sur la carte Nucléo 00012 DigitalOut DEL_R(PB_0); // DEL rouge sur carte CPU 00013 DigitalOut DEL_V(PB_1); // DEL verte sur carte CPU 00014 00015 DigitalOut ctrl_reg(PA_12); // Controle du régulateur 3.3V sur carte EPS 00016 00017 AnalogIn batin(PA_0); // Mesure tension batterie sur carte EPS 00018 AnalogIn sp_1in(PA_6); // Mesure courant Solar Panel 1 sur carte EPS 00019 AnalogIn sp_2in(PA_5); // Mesure courant Solar Panel 2 sur carte EPS 00020 00021 // Divers seuils pour la batterie 00022 #define BAT_SEUIL_HAUT_2 4.2f 00023 #define BAT_SEUIL_HAUT_1 3.7f 00024 #define BAT_SEUIL_BAS_1 3.5f 00025 #define BAT_SEUIL_BAS_2 3.3f 00026 00027 AnalogIn tempin(PA_1); // Mesute temperature sur carte Sensors 00028 00029 Serial xbee(PA_9, PA_10); //xbee serial pin TX,RX 00030
Generated on Mon Aug 15 2022 23:44:49 by
1.7.2