seesaw_soil_regs.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2020 Viktor Gal
3  *
4  * This file is subject to the terms and conditions of the GNU Lesser
5  * General Public License v2.1. See the file LICENSE in the top level
6  * directory for more details.
7  */
8 
19 #ifndef SEESAW_SOIL_REGS_H
20 #define SEESAW_SOIL_REGS_H
21 
22 #ifdef __cplusplus
23 extern "C"
24 {
25 #endif
26 
31 #define SEESAW_SOIL_MID_VALUE 0x55
32 
38 #define SEESAW_SOIL_MANUFACTURER_ID (0x01)
39 #define SEESAW_SOIL_TEMPERATURE (0x04)
40 #define SEESAW_SOIL_MOISTURE (0x0F10)
41 #define SEESAW_SOIL_RST (0x7F)
42 
44 #ifdef __cplusplus
45 }
46 #endif
47 
48 #endif /* SEESAW_SOIL_REGS_H */
49