Primeira versao
Dependencies: mbed EthernetInterface mbed-rtos
Diff: Definitions.h
- Revision:
- 1:6c73db131ebc
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Definitions.h Thu Mar 05 20:38:46 2015 +0000 @@ -0,0 +1,18 @@ +/* +* Definitions.h +* Definicoes de constantes +*/ + +#define CONVERSAOAD 0.000021 + +#define CICLO 60//1 +#define AMOSTRAS 256//2048 +//#define INTERVALO (float) (1/CICLO)/AMOSTRAS +#define INTERVALO 0.000065104//0.0004882812 + +#define LIMITE 0.07 + +#include <stdio.h> +#include <stdlib.h> +#include <math.h> +#include <string.h>