sensors.def.h (898B)
1 /* 2 This file is part of sds. 3 4 sds is free software: you can redistribute it and/or modify it under the 5 terms of the GNU General Public License as published by the Free Software 6 Foundation, either version 3 of the License, or (at your option) any later 7 version. 8 9 sds is distributed in the hope that it will be useful, but WITHOUT ANY 10 WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR 11 A PARTICULAR PURPOSE. See the GNU General Public License for more details. 12 13 You should have received a copy of the GNU General Public License along with 14 sds. If not, see <https://www.gnu.org/licenses/>. 15 */ 16 17 #include <stdio.h> 18 19 static const Sensor sensors[] = { 20 // name // address // unit 21 { "Sensor description", "192.168.178.1/temp", "C"}, 22 { "Another sensor description", "192.168.178.1/hum", "%"}, 23 };