programme accordeur guitare valide

Dependencies:   mbed USBDevice

fonctions.h

Committer:
achille
Date:
2019-06-05
Revision:
0:608629a8a61c
Child:
2:86f6d5733ae7

File content as of revision 0:608629a8a61c:

#include "mbed.h"
/*#include"USBSerial.h"*/

#define REC 250

typedef struct donne {
    float V;
    float T;
    }donnees;


void led_set(int flagV, int flagR1,int flagR2);
void recup(volatile donnees *t, float time, int i);
float moy(volatile donnees *t);
float period(volatile donnees *t, float mo);
void affichage(float fIn,float fV, int *flagV, int *flagR1, int *flagR2);
float frequ(float fIn);