programme accordeur guitare valide

Dependencies:   mbed USBDevice

fonctions.h

Committer:
achille
Date:
2019-06-11
Revision:
2:86f6d5733ae7
Parent:
0:608629a8a61c

File content as of revision 2:86f6d5733ae7:

#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);

float pvmax(donnees *t);
void affichage(float fIn,float fV, int *flagV, int *flagR1, int *flagR2);
float frequ(float fIn);