Accordeur
/
accordeurguit
programme accordeur guitare valide
Diff: fonctions.h
- Revision:
- 0:608629a8a61c
- Child:
- 2:86f6d5733ae7
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/fonctions.h Wed Jun 05 09:40:07 2019 +0000 @@ -0,0 +1,17 @@ +#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); \ No newline at end of file