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
fonctions.h
- Committer:
- Giamarchi
- Date:
- 2022-06-16
- Revision:
- 6:5a2c3d7d4623
- Parent:
- 4:610e1572bd1b
File content as of revision 6:5a2c3d7d4623:
//==============================================================================
// Fichier : fonctions.h
//
// Description de fonctions utilisées pour la station météo
//==============================================================================
//#include "mbed.h"
// #include <string.h>
//==============================================================================
// Déclaration des broches
DigitalOut DEL(PA_11); // Ligne PA_11 sur la carte Nucléo
Serial pc(USBTX, USBRX); // Dialogue Série port USB à 9600 Baud
//==============================================================================
// Déclaration des variables et des constante
const char * const titre[] = {"Station Meteo","1.0",};
//==============================================================================
// Déclaration des fonctions
void Init_Fonctions(void)
{
pc.printf("\r\n%s",titre[0]);
pc.printf("\tV%s\r\n",titre[1]);
pc.printf("FabLab Nimes\r\n");
}
// Nucleo - L031K6
// PA_9 Vin
// PA_10 Gnd
// NRST NRST
// Gnd 5V
// PA_12 PA_2
// PB_0 PA_7
// PB_7 PA_6
// PB_6 PA_5
// PB_1 PA_4
// NC PA_3
// NC PA_1
// PA_8 PA_0
// PA_11 Aref
// PB_5 3V3
// PB_4 PB_3