Novo

Dependencies:   EthernetInterface mbed-rtos mbed sample_handler

mylibs/globais.h

Committer:
faverosantos
Date:
2018-01-16
Revision:
0:71e5f03dd7a0

File content as of revision 0:71e5f03dd7a0:

#ifndef GLOBAIS_H
#define GLOBAIS_H

/* Includes */
#include "mbed.h"
#include "rtos.h"

/* Globais */
#define ADC_N_BITS 12
#define ADC_VREF 3.3

#define BUFFER_SIZE 500
#define FS 50000
#define TS 1/FS
#define TS_us uint32_t(TS*1000000)
#define TS_ms uint32_t(TS*1000)

/* Ethernet related defines */
#define ECHO_SERVER_ADDRESS "192.168.201.132"
#define ECHO_SERVER_PORT    5005
//const char* ECHO_SERVER_ADDRESS = "192.168.201.132";
//const int   ECHO_SERVER_PORT    = 5005;

#endif