IoT-MBBR (masterthesis)
Masterthesis upgrading a Moving Bed BioReactor with extra sensors and cloud connectivity.
DS18B20.h
Go to the documentation of this file.
1 /***************************************************************************//**
2  * @file DS18B20.h
3  * @brief All code for the DS18B20 temperature sensor.
4  * @version 4.0
5  * @author
6  * Alec Vanderhaegen & Sarah Goossens@n
7  * Heavily modified by Brecht Van Eeckhoudt
8  *
9  * ******************************************************************************
10  *
11  * @section License
12  *
13  * **Copyright (C) 2020 - Brecht Van Eeckhoudt**
14  *
15  * This program is free software: you can redistribute it and/or modify
16  * it under the terms of the **GNU General Public License** as published by
17  * the Free Software Foundation, either **version 3** of the License, or
18  * (at your option) any later version.
19  *
20  * This program is distributed in the hope that it will be useful,
21  * but WITHOUT ANY WARRANTY; without even the implied warranty of
22  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23  * GNU General Public License for more details.
24  *
25  * *A copy of the GNU General Public License can be found in the `LICENSE`
26  * file along with this source code.*
27  *
28  * @n
29  *
30  * Some methods use code obtained from examples from [Silicon Labs' GitHub](https://github.com/SiliconLabs/peripheral_examples).
31  * These sections are licensed under the Silabs License Agreement. See the file
32  * "Silabs_License_Agreement.txt" for details. Before using this software for
33  * any purpose, you must agree to the terms of that agreement.
34  *
35  ******************************************************************************/
36 
37 
38 /* Include guards prevent multiple inclusions of the same header */
39 #ifndef _DS18B20_H_
40 #define _DS18B20_H_
41 
42 
43 /* Include necessary for this header file */
44 #include <stdint.h> /* (u)intXX_t */
45 
46 
47 /* Public prototype */
49 
50 
51 #endif /* _DS18B20_H_ */
int int32_t
Typedef defining 32 bit int type. The developer should modify this to suit the platform being deploye...
Definition: vl53l1_types.h:83
int32_t readTempDS18B20(uint8_t number)
Get a temperature value from the DS18B20.
Definition: DS18B20.c:119
unsigned char uint8_t
Typedef defining 8 bit unsigned char type. The developer should modify this to suit the platform bein...
Definition: vl53l1_types.h:98