From 732d1963ed83abf4e5f1b06ec451a6943421d716 Mon Sep 17 00:00:00 2001
From: Guo Wenxue <guowenxue@gmail.com>
Date: Thu, 22 Sep 2022 00:36:11 +0800
Subject: [PATCH] update ds18b20.c to snprintf

---
 modules/c/sht20.c |   13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)

diff --git a/modules/c/sht20.c b/modules/c/sht20.c
index 04a7219..d41e451 100644
--- a/modules/c/sht20.c
+++ b/modules/c/sht20.c
@@ -8,7 +8,18 @@
  *        Version:  1.0.0(2018/10/14)
  *         Author:  Guo Wenxue <guowenxue@gmail.com>
  *      ChangeLog:  1, Release initial version on "2018/10/14 12:13:26"
- *                 
+ *
+ * Pin connection:
+ *
+ *          vcc   --- #Pin17 ( 3.3v )
+ *          GND   --- #Pin20 ( GND  )
+ *          SDA   --- #Pin02 ( SDA  )
+ *          SCL   --- #Pin03 ( SCL  )
+ *
+ * /boot/config.txt:
+ *
+ *          dtparam=i2c_arm=on
+ *
  ********************************************************************************/
 
 #include <stdio.h>

--
Gitblit v1.9.1