![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
programme accordeur guitare valide
fonctions.h@0:608629a8a61c, 2019-06-05 (annotated)
- Committer:
- achille
- Date:
- Wed Jun 05 09:40:07 2019 +0000
- Revision:
- 0:608629a8a61c
- Child:
- 2:86f6d5733ae7
avec les notes ;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
achille | 0:608629a8a61c | 1 | #include "mbed.h" |
achille | 0:608629a8a61c | 2 | /*#include"USBSerial.h"*/ |
achille | 0:608629a8a61c | 3 | |
achille | 0:608629a8a61c | 4 | #define REC 250 |
achille | 0:608629a8a61c | 5 | |
achille | 0:608629a8a61c | 6 | typedef struct donne { |
achille | 0:608629a8a61c | 7 | float V; |
achille | 0:608629a8a61c | 8 | float T; |
achille | 0:608629a8a61c | 9 | }donnees; |
achille | 0:608629a8a61c | 10 | |
achille | 0:608629a8a61c | 11 | |
achille | 0:608629a8a61c | 12 | void led_set(int flagV, int flagR1,int flagR2); |
achille | 0:608629a8a61c | 13 | void recup(volatile donnees *t, float time, int i); |
achille | 0:608629a8a61c | 14 | float moy(volatile donnees *t); |
achille | 0:608629a8a61c | 15 | float period(volatile donnees *t, float mo); |
achille | 0:608629a8a61c | 16 | void affichage(float fIn,float fV, int *flagV, int *flagR1, int *flagR2); |
achille | 0:608629a8a61c | 17 | float frequ(float fIn); |