IoT-MBBR (masterthesis)
Masterthesis upgrading a Moving Bed BioReactor with extra sensors and cloud connectivity.
serlcd.h
Go to the documentation of this file.
1 /***************************************************************************//**
2  * @file serlcd.h
3  * @brief serLCD functionality.
4  * @version 1.0
5  * @author Brecht Van Eeckhoudt
6  *
7  * ******************************************************************************
8  *
9  * @section License
10  *
11  * **Copyright (C) 2020 - Brecht Van Eeckhoudt**
12  *
13  * This program is free software: you can redistribute it and/or modify
14  * it under the terms of the **GNU General Public License** as published by
15  * the Free Software Foundation, either **version 3** of the License, or
16  * (at your option) any later version.
17  *
18  * This program is distributed in the hope that it will be useful,
19  * but WITHOUT ANY WARRANTY; without even the implied warranty of
20  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21  * GNU General Public License for more details.
22  *
23  * *A copy of the GNU General Public License can be found in the `LICENSE`
24  * file along with this source code.*
25  *
26  * @n
27  *
28  * Some methods use code obtained from examples from [Silicon Labs' GitHub](https://github.com/SiliconLabs/peripheral_examples).
29  * These sections are licensed under the Silabs License Agreement. See the file
30  * "Silabs_License_Agreement.txt" for details. Before using this software for
31  * any purpose, you must agree to the terms of that agreement.
32  *
33  * @n
34  *
35  * Code based on: https://github.com/sparkfun/SparkFun_SerLCD_Arduino_Library/blob/master/src/SerLCD.cpp
36  *
37  ******************************************************************************/
38 
39 /* Include guards prevent multiple inclusions of the same header */
40 #ifndef _SERLCD_H_
41 #define _SERLCD_H_
42 
43 
44 /* Includes necessary for this header file */
45 #include <stdint.h> /* (u)intXX_t */
46 #include <stdbool.h> /* "bool", "true", "false" */
47 
48 
49 /* Public prototypes */
50 int8_t clearLCD (void);
52 int8_t writeStringLCD (char *message);
54 int8_t heartBeatLCD (void);
55 
56 
57 #endif /* _SERLCD_H_ */
int8_t writeCharLCD(uint8_t data)
Write a character (one byte) to the LCD.
Definition: serlcd.c:214
int8_t clearLCD(void)
Clear the LCD.
Definition: serlcd.c:168
signed char int8_t
Typedef defining 8 bit char type. The developer should modify this to suit the platform being deploye...
Definition: vl53l1_types.h:103
MeasurementData_t data
Definition: main.c:86
int8_t writeStringLCD(char *message)
Print a string (char array) to the LCD.
Definition: serlcd.c:264
int8_t heartBeatLCD(void)
Update the heartbeat icon.
Definition: serlcd.c:361
int8_t setCursorLCD(uint8_t col, uint8_t row)
Set the cursor to a specific location on the LCD.
Definition: serlcd.c:316
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