This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Copyright (c) 2019 Conplug (https://conplug.com.tw) | |
// Author: Hartman Hsieh | |
// | |
// Description : | |
// - 同步 NTP 時間 | |
// - 顯示溫度值 (C) | |
// - 顯示溼度值 (%) | |
// - 顯示光照強度 (LUX) | |
// - 若尚未設定 WIFI SSID 會直接進入 SmartConfig 模式,可由手機 APP 配置 WIFI SSID 與密碼。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Copyright (c) 2019 Conplug (https://conplug.com.tw) | |
// Author: Hartman Hsieh | |
// | |
// Description : | |
// Scan LCD IIC address and init LCD module automatically. | |
// | |
// Connections : | |
// Connect LCD module to IIC bus. | |
// |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Copyright (c) 2019 Conplug (https://conplug.com.tw) | |
// Author: Hartman Hsieh | |
// | |
// Description : | |
// | |
// Building Configurations: | |
// Board : NodeMCU 1.0(ESP-12E Module) | |
// Flash Size : 4M(1M SPIFFS) | |
// |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Copyright (c) 2019 Conplug (https://conplug.com.tw) | |
// Author: Hartman Hsieh | |
// | |
// Description : | |
// None | |
// | |
// Connections : | |
// Plug "DFRobot Gravity I2C DS1307 RTC" at "IIC1" of "NANO_EXP V1.0". | |
// Plug "MCP3423 V1.0" module at "IIC2" of "NANO_EXP V1.0". |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Copyright (c) 2019 Conplug (https://conplug.com.tw) | |
// Author: Hartman Hsieh | |
// | |
// Description : | |
// Display date, time, temperature and humidity on LCD1602. | |
// | |
// Connections : | |
// Plug "DFRobot Gravity I2C LCD1602" module at "IIC0" of "NANO_EXP V1.0". | |
// Plug "DFRobot Gravity I2C DS1307 RTC" at "IIC2" of "NANO_EXP V1.0". |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Copyright (c) 2019 Conplug (https://conplug.com.tw) | |
// Author: Hartman Hsieh | |
// | |
// Description : | |
// None | |
// | |
// Connections : | |
// Plug "POT_BTN V1.0" module at "JA6D4". | |
// |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Copyright (c) 2019 Conplug (https://conplug.com.tw) | |
// Author: Hartman Hsieh | |
// | |
// Description : | |
// None | |
// | |
// Connections : | |
// Plug "DFRobot Gravity I2C LCD1602" module at "IIC0" of "NANO_EXP V1.0". | |
// Plug "DFRobot Gravity I2C DS1307 RTC" at "IIC1" of "NANO_EXP V1.0". |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Copyright (c) 2019 Conplug (https://conplug.com.tw) | |
// Author: Hartman Hsieh | |
// | |
// Description : | |
// None | |
// | |
// Connections : | |
// Plug "MCP3423 V1.0" module at "IIC2" of "NANO_EXP V1.0". | |
// |