![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Program to satellite, send variables of temperature, pressure, RH, GPS
Dependencies: mbed nRF24L01P BMP180 DHT11 GPS
Sensores.h
- Committer:
- JorgeGtz
- Date:
- 2019-11-29
- Revision:
- 0:e8e530360fe5
File content as of revision 0:e8e530360fe5:
#ifndef SENSORES_H #define SENSORES_H #define Rx PA_9 #define Tx PA_10 #define LED PC_13 #define SDA PB_9 #define SCL PB_8 #define SENSOR PB_11 #define ARK_Rx PA_2 #define ARK_Tx PA_3 #define MOSI PA_7 #define MISO PA_6 #define SCK PA_5 #define CSN PB_0 #define CE PB_1 #define IRQ PA_1 #define TRANSFER_SIZE 7 void init_sensores(void); void init_serial(void); void init_transmisor(void); void actualizar(void); void enviar_datos(void); void presion(void); void sensor_dht11(void); void global(void); void transmitir(void); #endif