From 1677e7c0cd68ba171b02828acac56938dbfec73a Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Sun, 21 Jul 2019 08:07:34 +0800
Subject: [PATCH] update ds18b20 sample code

---
 mqttd/etc/mqttd.conf |   29 +++++++++++++++++++++++++++++
 1 files changed, 29 insertions(+), 0 deletions(-)

diff --git a/mqttd/etc/mqttd.conf b/mqttd/etc/mqttd.conf
index d1352f3..773f954 100644
--- a/mqttd/etc/mqttd.conf
+++ b/mqttd/etc/mqttd.conf
@@ -1,3 +1,32 @@
+[common]
+id="rpi3b001"
+
+[hardware]
+# Settings 0:sisable  others: enable or connected #PIN nubmer(wPI)
+
+# Enablue hardware support or not, help to running on X86
+enable=1
+
+# relay connected wPI #pin number, if set to 0 means disable
+relay_pin=29
+
+# beep connected wPI #pin number, if set to 0 means disable
+beep_pin=0
+
+# RGB 3-colors LED connect wPI #pin number, if all set to 0 means disable
+red_pin=0
+green_pin=0
+blue_pin=0
+
+# temperature sensor ds18b20
+ds18b20=1
+
+# temperature and hummidity sensor sht2x
+sht2x=0
+
+# light intensity sensor TSL2561
+lux=0
+
 
 [logger]
 

--
Gitblit v1.9.1