Send DHT11 & SHT10 sensors data through LoRa SX1272 board.
Dependencies: DHT11 SHTx SX1272Lib mbed
Fork of SX1272-Transmitter by
main.h@23:711e46d8c9c6, 2017-04-03 (annotated)
- Committer:
- Antoine38
- Date:
- Mon Apr 03 15:10:40 2017 +0000
- Revision:
- 23:711e46d8c9c6
- Parent:
- 21:3ea7ab726dd4
Fix some variables
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
GregCr | 4:5ece30264cd9 | 1 | /* |
GregCr | 4:5ece30264cd9 | 2 | / _____) _ | | |
GregCr | 4:5ece30264cd9 | 3 | ( (____ _____ ____ _| |_ _____ ____| |__ |
GregCr | 4:5ece30264cd9 | 4 | \____ \| ___ | (_ _) ___ |/ ___) _ \ |
GregCr | 4:5ece30264cd9 | 5 | _____) ) ____| | | || |_| ____( (___| | | | |
GregCr | 4:5ece30264cd9 | 6 | (______/|_____)_|_|_| \__)_____)\____)_| |_| |
GregCr | 6:44752b4f8ab1 | 7 | ( C )2014 Semtech |
GregCr | 4:5ece30264cd9 | 8 | |
GregCr | 6:44752b4f8ab1 | 9 | Description: Contains the callbacks for the IRQs and any application related details |
GregCr | 4:5ece30264cd9 | 10 | |
GregCr | 4:5ece30264cd9 | 11 | License: Revised BSD License, see LICENSE.TXT file include in the project |
GregCr | 4:5ece30264cd9 | 12 | |
GregCr | 4:5ece30264cd9 | 13 | Maintainer: Miguel Luis and Gregory Cristian |
Antoine38 | 14:62c3fd006150 | 14 | Last update: Antoine Boisadam |
GregCr | 4:5ece30264cd9 | 15 | */ |
GregCr | 4:5ece30264cd9 | 16 | #ifndef __MAIN_H__ |
GregCr | 4:5ece30264cd9 | 17 | #define __MAIN_H__ |
GregCr | 4:5ece30264cd9 | 18 | |
GregCr | 4:5ece30264cd9 | 19 | /* |
GregCr | 4:5ece30264cd9 | 20 | * Callback functions prototypes |
GregCr | 4:5ece30264cd9 | 21 | */ |
GregCr | 4:5ece30264cd9 | 22 | /*! |
GregCr | 4:5ece30264cd9 | 23 | * @brief Function to be executed on Radio Tx Done event |
GregCr | 4:5ece30264cd9 | 24 | */ |
GregCr | 4:5ece30264cd9 | 25 | void OnTxDone( void ); |
GregCr | 4:5ece30264cd9 | 26 | |
GregCr | 4:5ece30264cd9 | 27 | /*! |
GregCr | 4:5ece30264cd9 | 28 | * @brief Function executed on Radio Tx Timeout event |
GregCr | 4:5ece30264cd9 | 29 | */ |
GregCr | 4:5ece30264cd9 | 30 | void OnTxTimeout( void ); |
GregCr | 4:5ece30264cd9 | 31 | |
GregCr | 4:5ece30264cd9 | 32 | /*! |
Antoine38 | 21:3ea7ab726dd4 | 33 | * @brief Functions which convert a float into uint8 |
GregCr | 4:5ece30264cd9 | 34 | */ |
Antoine38 | 21:3ea7ab726dd4 | 35 | uint8_t to_u8(float x, bool isTemp); |
GregCr | 4:5ece30264cd9 | 36 | |
GregCr | 4:5ece30264cd9 | 37 | |
GregCr | 4:5ece30264cd9 | 38 | #endif // __MAIN_H__ |