hehung 发表于 2022-6-4 12:42

【平头哥RVB2601创意应用开发】网络闹钟

本帖最后由 hehung 于 2022-6-4 12:45 编辑

<p style="text-align:justify">&nbsp;</p>

<p align="center" style="text-align:center"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><b><span class="15" style="font-size:16.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">网络闹钟</font></span></span></b></span></span></p>

<p align="right" style="text-align:right"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><b><span style="font-size:16.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">作者:</font></span></span></b><b><span style="font-size:16.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">hehung</font></span></span></b></span></span></p>

<p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><b><span style="font-size:16.0000pt"><span style="background:#ffffff"><span style="font-family:微软雅黑"><font face="微软雅黑">一、项目背景</font></span></span></span></b></span></span></p>

<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">本作品设计目的是解决市面上的闹钟功能单一,没有联网功能的缺点。第一次了解到</font><font face="微软雅黑">RVB2601,看到板载OLED显示屏,按键,WIFI等设备就有了可以做一个多功能联网闹钟的想法。全部功能都可以用板载资源完成,无需外接其他传感器等,简化了设置流程。经过三个月的反复调试,最终实现了除闹钟功能外还包括获取天气信息,自动校准时间,手动设置时间,Iot物联网远程控制,报时等功能。</font></span></span></span></span></p>

<p style="text-indent:21.0000pt; text-align:justify">&nbsp;</p>

<p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><b><span class="16" style="font-size:16.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">二、作品简介</font></span></span></b></span></span></p>

<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">该作品为一个多功能闹钟,主要实现日历时间显示,天气信息显示,联网状态显示,语音报时,闹钟设置,联网校时,手动设置时间,</font><font face="微软雅黑">wifi配置,城市设置等功能。第一次上电所有设置为默认状态,用户可以对wifi名以及密码进行设置之后会自动联网进行校时,天气信息获取,物联网连接等。Wifi配置好了之后系统会自动保存配置信息,下一次上电会自动联网。通过巧妙设计使得所有操作均通过板载两个按键或者物联网WEB界面配置来完成,系统中所有设置项均会自动保存掉电不丢失。</font></span></span></span></span></p>

<p style="text-indent:21.0000pt; text-align:justify"> &nbsp; &nbsp;</p>

<p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><b><span class="16" style="font-size:16.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">三、系统框图</font></span></span></b></span></span></p>

<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">系统中使用了</font><font face="微软雅黑">AOS,kv,网络管理,RTC,NTP,cJSON,播放器,AT等资源等。</font></span></span></span></span></p>

<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">外设使用了板载外设</font><font face="微软雅黑">OLED,喇叭,LED,按键KEY1和KEY2,板载wifi芯片W800。</font></span></span> <span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">总系统设计架构图见下图。</font></span></span></span></span></p>

<p style="text-indent:21.0000pt; text-align:justify">&nbsp;</p>

<p style="text-align:justify"> &nbsp;</p>

<p align="justify" style="text-align:justify">&nbsp;</p>

<ol>
        <li style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><b><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">OLED</font></span></span></b></span></span></li>
</ol>

<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">OLED部分主要用于显示信息,根据当前显示界面可以完成整个系统的设置以及操作等,因这部分架构较为复杂,单独画图说明,如下图:</font></span></span></span></span></p>

<p style="text-align:justify"> &nbsp;</p>

<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">OLED是该作品的核心部分,主要包含九大部分,每个部分的切换在第四章中详细描述。</font></span></span></span></span></p>

<p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">&nbsp; &nbsp; ①时间显示界面。用于显示日期时间,联网状态,闹钟开启状态,IOT物联网平台连接状态,当前天气和温湿度信息;</font></span></span></span></span></p>

<p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">&nbsp; &nbsp; ②菜单显示界面。显示四个可选菜单项,分别为设置,wifi配网,天气,退出;</font></span></span></span></span></p>

<p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">&nbsp; &nbsp; ③设置显示界面。显示闹钟,音量以及音量百分比,音效以及音效使能状态,报时以及报时使能状态,联网校时以及联网校时使能状态,时间,天气城市代码,退出等信息;</font></span></span></span></span></p>

<p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">&nbsp;&nbsp;&nbsp;&nbsp;④Wifi配网显示界面。显示wifi名字长度,wifi名字,wifi密码长度,wifi密码,退出等信息;</font></span></span></span></span></p>

<p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">&nbsp; &nbsp; ⑤天气信息显示界面。该界面将滚动显示,主要显示今日天气,今日温度,今日湿度,当前天气,当前温度等信息;</font></span></span></span></span></p>

<p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">&nbsp; &nbsp; ⑥闹钟选择显示界面。显示闹钟时间,当前是第几个闹钟,切换上一个闹钟按钮,切换下一个闹钟按钮,退出等信息;</font></span></span></span></span></p>

<p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">&nbsp; &nbsp; ⑦闹钟设置显示界面。显示当前闹钟是第几个闹钟,闹钟时间,闹钟使能状态,星期一到星期天的闹钟使能状态,退出等信息;</font></span></span></span></span></p>

<p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">&nbsp; &nbsp; ⑧时间设置显示界面。主要显示要设置的时间的年月日时分秒,退出等信息;</font></span></span></span></span></p>

<p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">&nbsp; &nbsp; ⑨城市代码设置显示界面。该代码用于获取天气信息使用,显示需要获取的城市的天气代码。</font></span></span></span></span></p>

<ol start="2">
        <li style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><b><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">喇叭</font></span></span></b></span></span></li>
</ol>

<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">喇叭用于播放</font><font face="微软雅黑">&ldquo;欢迎声音&rdquo;,&ldquo;闹钟音乐&rdquo;,&ldquo;按键音效&rdquo;以及&ldquo;音量设置时音效&rdquo;。</font></span></span></span></span></p>

<ol start="3">
        <li style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><b><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">LED</font></span></span></b></span></span></li>
</ol>

<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">作品中使用了绿色以及红色</font><font face="微软雅黑">LED。</font></span></span></span></span></p>

<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">绿色</font><font face="微软雅黑">LED作为系统工作指示灯循环明暗交替变化;</font></span></span></span></span></p>

<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">红色</font><font face="微软雅黑">LED作为闹钟指示灯,当设定闹钟时间到了之后停止绿色LED工作,变为红色LED循环明暗交替变化提示闹钟时间到了。</font></span></span></span></span></p>

<ol start="4">
        <li style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><b><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">按键</font></span></span></b></span></span></li>
</ol>

<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">两个板载按键</font><font face="微软雅黑">KEY1和KEY2用于显示界面切换以及所有设置项操作。</font></span></span></span></span></p>

<ol start="5">
        <li style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><b><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">W800</font></span></span></b></span></span></li>
</ol>

<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">用于联网控制。</font><font face="微软雅黑">IoT数据交互,NTP校时,天气信息获取。</font></span></span></span></span></p>

<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">上电之后会自动进行</font><font face="微软雅黑">NTP校时,校时完成之后会获取天气信息,之后连接IoT平台进行数据交互</font></span></span></span></span></p>

<ol start="6">
        <li style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><b><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">WEB</font></span></span></b></span></span></li>
</ol>

<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">Web界面用于IoT控制。包括闹钟时间设置,使能/禁能设置设置,闹钟星期使能/禁能设置,音量百分比设置,音效使能/禁能设置设置,报时使能/禁能设置设置,联网校时使能/禁能设置,时间设置,天气城市代码设置等控制功能,便于用于操作,可以与本地设置结合使用;</font></span></span></span></span></p>

<p style="text-indent:21.0000pt; text-align:justify">&nbsp;</p>

<p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><b><span class="16" style="font-size:16.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">四、各部分功能说明</font></span></span></b><b><span class="16" style="font-size:16.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">和解析</font></span></span></b></span></span></p>

<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">软件实现中的任务分配如下图所示。</font></span></span></span></span></p>

<p style="text-align:justify"> &nbsp;</p>

<p style="text-align:justify"> &nbsp;</p>

<ol>
        <li style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><b><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">按键</font></span></span></b></span></span></li>
</ol>

<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">按键逻辑在一个周期为</font><font face="微软雅黑">20ms的任务中工作。</font></span></span></span></span></p>

<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">按键使用了板载的两个按键</font></span></span><b><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">KEY1</font></span></span></b><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">和</font></span></span><b><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">KEY2</font></span></span></b><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">,实现系统所需的所有控制操作。</font></span></span></span></span></p>

<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">每个按键支持四种控制模式,分别如下:</font></span></span></span></span></p>

<p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">&nbsp; &nbsp; (1)短按</font></span></span></span></span></p>

<p style="margin-left:28px; text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">按键按下时间小于</font><font face="微软雅黑">500ms。</font></span></span></span></span></p>

<p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">&nbsp; &nbsp; (2)长按</font></span></span></span></span></p>

<p style="margin-left:28px; text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">按键按下时间大于等于</font><font face="微软雅黑">500ms</font></span></span></span></span></p>

<p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">&nbsp; &nbsp; (3)按键保持按下</font></span></span></span></span></p>

<p style="margin-left:28px; text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">按键按下时间大于等于</font><font face="微软雅黑">500ms且保持不松手。</font></span></span></span></span></p>

<p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">&nbsp; &nbsp; (4)按键保持松开</font></span></span></span></span></p>

<p style="margin-left:28px; text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">这种是默认状态,没有特殊逻辑处理。</font></span></span></span></span></p>

<p style="margin-left:28px; text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">这几种控制模式在</font><font face="微软雅黑">5. OLED中会详细描述。</font></span></span></span></span></p>

<ol start="2">
        <li style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><b><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">LED</font></span></span></b></span></span></li>
</ol>

<p style="margin-left:28px; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">LED逻辑在一个周期为100ms的任务中执行。</font></span></span></span></span></p>

<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">(</font><font face="微软雅黑">1)LED主要用于显示系统是否在正常工作,绿色LED使用PWM控制周期性明暗交替变化。</font></span></span></span></span></p>

<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">(</font><font face="微软雅黑">2)当闹钟响应之后,PWM控制红色LED周期性明暗交替变化,绿色LED熄灭。</font></span></span></span></span></p>

<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">(</font><font face="微软雅黑">3)闹钟取消之后,绿色LED继续周期性明暗交替变化。</font></span></span></span></span></p>

<ol start="3">
        <li style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><b><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">NTP网络校时</font></span></span></b></span></span></li>
</ol>

<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">NTP任务周期为100ms。</font></span></span></span></span></p>

<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">任务创建之后,先初始化</font><font face="微软雅黑">RTC导入默认日历时间,之后进入NTP校时任务。</font></span></span></span></span></p>

<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">任务逻辑如下:</font></span></span></span></span></p>

<p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">&nbsp; &nbsp; (1)如果&ldquo;网络校时&rdquo;功能使能,如果网络连接成功,则获取NTP时间对本地RTC日历进行校准;</font></span></span></span></span></p>

<p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">&nbsp; &nbsp; (2)如果&ldquo;网络校时&rdquo;功能使能,如果网络连接未成功,则等待网络连接;</font></span></span></span></span></p>

<p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">&nbsp; &nbsp; (3)如果&ldquo;网络校时&rdquo;功能禁能,则不获取网络时间;</font></span></span></span></span></p>

<p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">&nbsp; &nbsp; (4)如果&ldquo;网络校时&rdquo;功能由禁能变为使能,则立即获取网络时间对本地RTC日历进行校准。</font></span></span></span></span></p>

<ol start="4">
        <li style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><b><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">闹钟</font></span></span></b></span></span></li>
</ol>

<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">闹钟任务周期为</font><font face="微软雅黑">1s。</font></span></span></span></span></p>

<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">该作品支持最多设置</font><font face="微软雅黑">10个闹钟。每个闹钟可能进行</font></span></span><i><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><span style="font-style:italic"><font face="微软雅黑">时间(小时,分钟)设置,使能</font><font face="微软雅黑">/技能设置,星期一~星期天使能/技能设置</font></span></span></span></i><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">。</font></span></span></span></span></p>

<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">功能支持如下:</font></span></span></span></span></p>

<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">(</font><font face="微软雅黑">1)如果闹钟使能且未设置任何一个星期使能(即星期一到星期天都未使能),则闹钟是单次播报,一旦闹钟激活了之后就会设置为禁能状态;</font></span></span></span></span></p>

<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">(</font><font face="微软雅黑">2)如果闹钟使能且使能了星期一到星期天中的任意一个或者多个,则闹钟为以星期为单位的周期性工作。如果使能了星期一到星期天,则闹钟每天都会工作;</font></span></span></span></span></p>

<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">(</font><font face="微软雅黑">3)如果闹钟禁能,则被禁能的闹钟不工作;</font></span></span></span></span></p>

<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">(</font><font face="微软雅黑">4)如果使能了多个闹钟,则多个闹钟都会工作,相互独立;</font></span></span></span></span></p>

<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">(</font><font face="微软雅黑">5)任务创建后,会周期性扫描设定的闹钟时间是否到达,如果设定的闹钟时间到达,则播放闹钟音乐,控制红色LED周期性明暗交替变化;</font></span></span></span></span></p>

<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">(</font><font face="微软雅黑">6)如果闹钟工作期间按下了任意一个按键(无论长按还是短按),则停止闹钟播报;</font></span></span></span></span></p>

<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">(</font><font face="微软雅黑">7)闹钟激活之后会开始计时,如果连续5分钟没有被手动关闭,则自动关闭。</font></span></span></span></span></p>

<ol start="5">
        <li style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><b><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">物联网数据交互</font></span></span></b></span></span></li>
</ol>

<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">物联网数据交互任务的周期为</font><font face="微软雅黑">1s。</font></span></span></span></span></p>

<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">物联网平台使用了阿里云的飞燕平台,主要用于用于远程控制</font><font face="微软雅黑">&ldquo;网络闹钟&rdquo;,所有的web设置项会和本地设置进行实时同步。</font></span></span></span></span></p>

<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">IoT web控制界面如下图所示。</font></span></span></span></span></p>

<p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">&nbsp; &nbsp; (1)网络校准使能:使能或者禁能NTP功能,当NTP功能从禁能切换为使能时会自动校准一次时间;</font></span></span></span></span></p>

<p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">&nbsp; &nbsp; (2)音量百分比:调节音量百分比(0-100);</font></span></span></span></span></p>

<p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">&nbsp; &nbsp; (3)按键音效:使能或者禁能按键音效功能;</font></span></span></span></span></p>

<p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">&nbsp; &nbsp; (4)报时:使能或者禁能报时功能(报时功能只支持早上九点到下午六点整点报时);</font></span></span></span></span></p>

<p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">&nbsp; &nbsp; (5)设置时间:手动设置时间,如果&ldquo;网络校时&rdquo;功能为禁能状态才有效,否则设置无效;</font></span></span></span></span></p>

<p><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">&nbsp; &nbsp; (6)城市代码:设置获取天气信息的城市代码,需要保证天气城市代码有效,天气城市代码可以参考该网址:<a href="https://blog.csdn.net/mxh3600/article/details/121580770" target="_blank">https://blog.csdn.net/mxh3600/article/details/121580770</a></font></span></span></span></span></p>

<p><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">&nbsp;&nbsp;&nbsp;&nbsp;(7)闹钟设置:</font></span></span></span></span></p>

<ul>
        <li style="list-style-type:none">
        <ul>
                <li style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="15" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">选择闹钟:选择对哪个闹钟进行设置,可选值为</font><font face="微软雅黑">1-10;</font></span></span></span></span></li>
                <li style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="15" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">闹钟使能:使能或者禁能闹钟功能;</font></span></span></span></span></li>
                <li style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="15" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">闹钟时间:设置闹钟激活时间;</font></span></span></span></span></li>
                <li style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="15" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">闹钟报时周期选择:选择是否以星期为单位,周期性激活闹钟,选择任何一个或者多个星期(星期一到星期天)使能,则到达每个星期当天指定时间之后闹钟都会激活,如果星期一到星期天都禁能,则闹钟只会激活一次。</font></span></span></span></span></li>
        </ul>
        </li>
</ul>

<p style="text-align:justify"> &nbsp;</p>

<ol start="6">
        <li style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><b><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">天气获取</font></span></span></b></span></span></li>
</ol>

<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">获取天气的任务周期为</font><font face="微软雅黑">1s。</font></span></span></span></span></p>

<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">任务创建好了之后会进入准备获取天气信息。</font></span></span></span></span></p>

<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">(</font><font face="微软雅黑">1)如果NTP使能了,则等待NTP获取成功之后再获取天气信息;</font></span></span></span></span></p>

<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">(</font><font face="微软雅黑">2)如果NTP禁能了,则等待网络连接成功之后再获取天气信息;</font></span></span></span></span></p>

<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">(</font><font face="微软雅黑">3)当第一次天气信息获取成功之后,每一次小时获取一次天气信息,以满足实时更新最新天气的需求。</font></span></span></span></span></p>

<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">获取天气使用了</font><font face="微软雅黑">GET方式,获取指定http天气信息,获取的是实时天气,网址为:</font></span></span><a href="https://www.nowapi.com/api/weather.today" target="_blank">https://www.nowapi.com/api/weather.today</a></span></span></p>

<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">该平台提供三个月的免费试用,一小时最多可以获取</font><font face="微软雅黑">20次。</font></span></span></span></span></p>

<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">获取的</font><font face="微软雅黑">JSON示例如下图,</font></span></span><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">通过对</font><font face="微软雅黑">JSON数据的解析,提取出当前天气信息,当前温度湿度信息,本日天气信息,本日温度信息等。</font></span></span></span></span></p>

<p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;</span></span> &nbsp;</p>

<ol start="7">
        <li style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><b><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">喇叭</font></span></span></b></span></span></li>
</ol>

<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">喇叭任务的周期为</font><font face="微软雅黑">100ms,用于播放闹钟音乐,按键音效,音量调节音效,系统启动欢迎语音。</font></span></span></span></span></p>

<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">实现功能如下:</font></span></span></span></span></p>

<p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">&nbsp; &nbsp; (1)当系统启动时,播放欢迎&ldquo;您好的语音&rdquo;;</font></span></span></span></span></p>

<p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">&nbsp; &nbsp; (2)当闹钟激活之后,喇叭播放闹钟音效;</font></span></span></span></span></p>

<p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">&nbsp; &nbsp; (3)如果&ldquo;音效&rdquo;使能,则每一次按键按下都会播放按键音效;</font></span></span></span></span></p>

<p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">&nbsp; &nbsp; (4)如果正在调节&ldquo;音量&rdquo;,则音量调节完毕会播放音效;</font></span></span></span></span></p>

<p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">&nbsp; &nbsp; (5)音量大小可以在&ldquo;设置&rdquo;界面或者物联网控制调节;</font></span></span></span></span></p>

<p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">&nbsp; &nbsp; (6)如果&ldquo;报时&rdquo;使能,报时功能支持早上九点到下午六点整点报时,如果禁能,不报时。</font></span></span></span></span></p>

<ol start="8">
        <li style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><b><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">OLED</font></span></span></b></span></span></li>
</ol>

<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">OLED一共会显示九种不同的界面,分别如下:</font></span></span></span></span></p>

<p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><b><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">&nbsp; &nbsp; (1)时间显示界面</font></span></span></b></span></span></p>

<p style="margin-left:28px; text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">时间显示界面会显示如下信息:</font></span></span></span></span></p>

<ul>
        <li style="list-style-type:none">&nbsp; &nbsp; <span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">①</font></span></span></span></span><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">Wifi连接状态。如果没有连接网络,左上角wifi图标会一直处于闪烁状态;连接wifi成功,则wifi图标常亮;</font></span></span></span></span>&nbsp;</li>
        <li style="list-style-type:none"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">&nbsp; &nbsp;②闹钟使能状态。如果没有任何一个闹钟打开,不显示闹钟图标;如果有任意一个闹钟打开了,显示闹钟图标;</font></span></span></span></span>&nbsp;</li>
        <li style="list-style-type:none">&nbsp; &nbsp; <span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">③物联网连接状态。如果物联网平台连接失败,IoT图标将处于闪烁状态;如果连接物联网平台成功,则IoT图标常亮;</font></span></span></span></span></li>
        <li style="list-style-type:none"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">&nbsp; &nbsp;④天气与温湿度信息。如果没有获取到天气,则显示</font><font face="微软雅黑">&ldquo;未知&rdquo;;如果成功获取到了天气,则显示实时天气信息以及实时温湿度信息,天气信息与温湿度信息交替显示。</font></span></span></span></span></li>
        <li style="list-style-type:none"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">&nbsp; &nbsp;⑤时间显示。显示实时时间,从</font><font face="微软雅黑">RTC获取实时时间并显示出来。</font></span></span></span></span></li>
</ul>

<p style="margin-left:56px; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><b><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">在该界面下,短按</font><font face="微软雅黑">&ldquo;KEY1&rdquo;进入&ldquo;菜单界面&rdquo;</font></span></span></b><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">。</font></span></span></span></span></p>

<p style="margin-left:56px; text-align:justify"> &nbsp;<span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;">&nbsp;</span></span> &nbsp;</p>

<p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><b><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">&nbsp; &nbsp; (2)菜单显示界面</font></span></span></b></span></span></p>

<p style="margin-left:28px; text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">菜单显示界面会显示如下菜单:</font></span></span></span></span></p>

<ul>
        <li style="list-style-type:none">
        <ul>
                <li style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">设置图标:选中之后长按</font><font face="微软雅黑">&ldquo;KEY1&rdquo;或者&ldquo;KEY2&rdquo;进入&ldquo;设置界面&rdquo;,短按&ldquo;KEY1&rdquo;光标跳转到&ldquo;Wifi配网图标&rdquo;,短按&ldquo;KEY2&rdquo;光标跳转到&ldquo;退出图标&rdquo;;</font></span></span></span></span></li>
                <li style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">Wifi配网图标:选中之后长按&ldquo;KEY1&rdquo;或者&ldquo;KEY2&rdquo;进入&ldquo;WIFI配网界面&rdquo;,短按&ldquo;KEY1&rdquo;光标跳转到&ldquo;天气图标&rdquo;,短按&ldquo;KEY2&rdquo;光标跳转到&ldquo;设置图标&rdquo;;</font></span></span></span></span></li>
                <li style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">天气图标:选中之后长按</font><font face="微软雅黑">&ldquo;KEY1&rdquo;或者&ldquo;KEY2&rdquo;进入&ldquo;天气显示界面&rdquo;,短按&ldquo;KEY1&rdquo;光标跳转到&ldquo;退出图标&rdquo;,短按&ldquo;KEY2&rdquo;光标跳转到&ldquo;WIFI配网界面&rdquo;;</font></span></span></span></span></li>
                <li style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">退出图标:选中之后长按</font><font face="微软雅黑">&ldquo;KEY1&rdquo;或者&ldquo;KEY2&rdquo;退回&ldquo;时间显示界面,短按&ldquo;KEY1&rdquo;光标跳转到&ldquo;设置图标&rdquo;,短按&ldquo;KEY2&rdquo;光标跳转到&ldquo;天气图标&rdquo;。</font></span></span></span></span></li>
        </ul>
        </li>
</ul>

<p style="margin-left:56px; text-align:justify"> &nbsp;</p>

<p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><b><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">&nbsp; &nbsp; (3)设置显示界面</font></span></span></b></span></span></p>

<p style="margin-left:28px; text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">设置界面分为三页显示分别如下:</font></span></span></span></span></p>

<p style="margin-left:28px; text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">第一页显示:</font></span></span></span></span></p>

<ul>
        <li style="list-style-type:none">
        <ul>
                <li style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">闹钟:选中之后长按</font><font face="微软雅黑">&ldquo;KEY1&rdquo;或者&ldquo;KEY2&rdquo;进入&ldquo;闹钟选择界面&rdquo;,短按&ldquo;KEY1&rdquo;光标跳转到&ldquo;音量以及音量百分比&rdquo;,短按&ldquo;KEY2&rdquo;光标跳转到&ldquo;退出&rdquo;;</font></span></span></span></span></li>
                <li style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">音量以及音量百分比:选中之后长按</font><font face="微软雅黑">&ldquo;KEY1&rdquo;并保持音量增加,选中之后长按&ldquo;KEY2&rdquo;并保持音量减小,短按&ldquo;KEY1&rdquo;光标跳转到&ldquo;音效以及音效使能状态&rdquo;,短按&ldquo;KEY2&rdquo;光标跳转到&ldquo;闹钟&rdquo;;</font></span></span></span></span></li>
                <li style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">音效以及音效使能状态:如果当前为禁能状态,长按</font><font face="微软雅黑">&ldquo;KEY1&rdquo;或者&ldquo;KEY2&rdquo;按键音效切换为使能状态;如果当前为使能状态,选中之后长按&ldquo;KEY1&rdquo;或者&ldquo;KEY2&rdquo;按键音效切换为禁能状态;短按&ldquo;KEY1&rdquo;光标跳转到&ldquo;报时以及使能状态&rdquo;,短按&ldquo;KEY2&rdquo;光标跳转到&ldquo;音量以及音量百分比&rdquo;;</font></span></span></span></span></li>
        </ul>
        </li>
</ul>

<p style="margin-left:56px; text-align:justify"> &nbsp;</p>

<p style="margin-left:56px; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">第二页显示:</font></span></span></span></span></p>

<ul>
        <li style="list-style-type:none">
        <ul>
                <li style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">报时以及使能状态:如果当前为禁能状态,选中之后长按</font><font face="微软雅黑">&ldquo;&ldquo;KEY1&rdquo;或者&ldquo;KEY2&rdquo;报时功能切换为使能状态;如果当前为使能状态,选中之后长按&ldquo;KEY1&rdquo;或者&ldquo;KEY2&rdquo;报时功能切换为禁能状态,短按&ldquo;KEY1&rdquo;光标跳转到&ldquo;音效以及音效使能状态&rdquo;,短按&ldquo;KEY2&rdquo;光标跳转到&ldquo;联网校时以及使能状态&rdquo;;</font></span></span></span></span></li>
                <li style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">联网校时以及使能状态:如果当前为禁能状态,选中之后长按</font><font face="微软雅黑">&ldquo;KEY1&rdquo;或者&ldquo;KEY2&rdquo;NTP校时功能切换为使能状态;如果当前为使能状态,选中之后长按&ldquo;KEY1&rdquo;或者&ldquo;KEY2&rdquo;NTP校时功能切换为禁能状态;短按&ldquo;KEY1&rdquo;光标跳转到&ldquo;时间&rdquo;,短按&ldquo;KEY2&rdquo;光标跳转到&ldquo;报时以及使能状态&rdquo;;</font></span></span></span></span></li>
                <li style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">时间:选中之后长按</font><font face="微软雅黑">&ldquo;KEY1&rdquo;或者&ldquo;KEY2&rdquo;进入&ldquo;手动设置时间界面&rdquo;,短按&ldquo;KEY1&rdquo;光标跳转到&ldquo;城市&rdquo;,短按&ldquo;KEY2&rdquo;光标跳转到&ldquo;联网校时以及使能状态&rdquo;;</font></span></span></span></span></li>
        </ul>
        </li>
</ul>

<p style="margin-left:56px; text-align:justify"> &nbsp;</p>

<p style="margin-left:56px; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">第二页显示:</font></span></span></span></span></p>

<ul>
        <li style="list-style-type:none">
        <ul>
                <li style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">城市:选中之后长按</font><font face="微软雅黑">&ldquo;KEY1&rdquo;或者&ldquo;KEY2&rdquo;进入&ldquo;天气城市代码设置界面&rdquo;,短按&ldquo;KEY1&rdquo;光标跳转到&ldquo;退出&rdquo;,短按&ldquo;KEY2&rdquo;光标跳转到&ldquo;时间&rdquo;;</font></span></span></span></span></li>
                <li style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">退出:选中之后长按</font><font face="微软雅黑">&ldquo;KEY1&rdquo;或者&ldquo;KEY2&rdquo;退出&ldquo;菜单显示界面&rdquo;,短按&ldquo;KEY1&rdquo;光标跳转到&ldquo;闹钟&rdquo;,短按&ldquo;KEY2&rdquo;光标跳转到&ldquo;城市&rdquo;;</font></span></span></span></span></li>
        </ul>
        </li>
</ul>

<p style="margin-left:56px; text-align:justify"> &nbsp;</p>

<p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">&nbsp; &nbsp; <strong>(4)Wifi配网界面</strong></font></span></span></span></span></p>

<p style="margin-left:28px; text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><b><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">注:对于</font><font face="微软雅黑">WiFi名字以及密码设置时,为了简化输入逻辑,使用两个按键分别表示ascii的高位和低位用于输入,可以实现标准ASCII码所有可打印字符的输入,&ldquo;KEY2&rdquo;对应ASCII十六进制的高位,&ldquo;KEY1&rdquo;对应的是ASCII的十六进制的低位,短按&ldquo;KEY2&rdquo;高位ASCII加一,短按&ldquo;KEY1&rdquo;低位ASCII加一,可打印的ASCI字符为0x20-0x7E,所以wifi名字和密码只支持ASCII上的可打印字符,不支持中文以及其他复杂字符,所以连接的路由器名字以及密码需要为常见字符才行。在对密码以及wifi名设置时,左上角会显示当前ASCII十六进制数,方便查看,详细操作见视频。</font></span></span></b></span></span></p>

<p style="margin-left:28px; text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">Wifi配网会显示三个页面,分别如下:</font></span></span></span></span></p>

<ul>
        <li style="list-style-type:none">
        <ul>
                <li style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">Wifi名以及其长度设置页面:光标在名字长度上时,短按&ldquo;KEY1&rdquo;长度加1,短按&ldquo;KEY2&rdquo;长度减1;长按&ldquo;KEY1&rdquo;切换到名字设置的第一个字符上,如果光标处于最后一个wifi名字符上时,长按&ldquo;KEY1&rdquo;切换到&ldquo;wifi密码长度设置&rdquo;,如果光标在&ldquo;名字长度&rdquo;上时,长按&ldquo;KEY2&rdquo;光标切换到&ldquo;退出&rdquo;,如果光标在第一个名字字符上,长按&ldquo;KEY2&rdquo;光标切换到&ldquo;wifi名字长度&rdquo;上。</font></span></span></span></span></li>
        </ul>
        </li>
</ul>

<p style="margin-left:56px; text-align:justify"><em><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">Wifi名设置时,两个按键短按组合为ASCII值,方便设置;长按&ldquo;KEY2&rdquo;切换上一个字符,长按&ldquo;KEY1&rdquo;切换下一个字符,详细操作见视频。</font></span></span></span></span></em></p>

<p style="margin-left:56px; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">注:</font><font face="微软雅黑">WiFi名字长度最多支持32位,最少1位。</font></span></span></span></span></p>

<p style="margin-left:56px; text-align:justify"> &nbsp;</p>

<ul>
        <li style="list-style-type:none">
        <ul>
                <li style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">Wifi密码以及其长度设置界面:光标在密码度上时,短按&ldquo;KEY1&rdquo;长度加1,短按&ldquo;KEY2&rdquo;长度减1;长按&ldquo;KEY1&rdquo;切换到密码设置的第一个字符上,长按&ldquo;KEY2&rdquo;光标切换到&ldquo;wifi名&rdquo;设置的最后一个字符上。</font></span></span></span></span></li>
        </ul>
        </li>
</ul>

<p style="margin-left:56px; text-align:justify"><em><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">Wifi密码设置时,两个按键短按组合为ASCII值,方便设置;长按&ldquo;KEY2&rdquo;切换上一个字符,如果当前光标在第一个密码字符上,长按&ldquo;KEY2&rdquo;光标切换到&ldquo;密码长度&rdquo;上,长按&ldquo;KEY1&rdquo;切换下一个字符,当光标处于最后一个密码字符时,长按&ldquo;KEY1&rdquo;会切换到&ldquo;退出&rdquo;,详细操作见视频。</font></span></span></span></span></em></p>

<p style="margin-left:56px; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">注:密码最多支持</font><font face="微软雅黑">64位,最少8位或者0位(表示没有密码)。</font></span></span></span></span></p>

<p style="margin-left:56px; text-align:justify"> &nbsp;</p>

<ul>
        <li style="list-style-type:none">
        <ul>
                <li style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">Wifi密码设置界面以及退出界面。</font></span></span></span></span></li>
        </ul>
        </li>
</ul>

<p style="margin-left:56px; text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">当光标在</font><font face="微软雅黑">&ldquo;退出&rdquo;上时,短按&ldquo;KEY1&rdquo;或者&ldquo;KEY2&rdquo;退回到&ldquo;菜单显示界面&rdquo;,长按&ldquo;KEY1&rdquo;光标切换到&ldquo;wifi名字长度&rdquo;,长按&ldquo;KEY2&rdquo;光标切换到&ldquo;密码&rdquo;最后一个字符上。</font></span></span></span></span></p>

<p style="margin-left:56px; text-align:justify"> &nbsp;</p>

<p style="margin-left:56px; text-align:justify">&nbsp;</p>

<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">注:</font><font face="微软雅黑">Wifi配置这块做的有些许繁琐,因为w800没有ap功能,如果有ap功能,可以简化一些流程,做成这种方式可以连接绝大部分的路由器,并且只需要配网一次,下次上电无需再次配网会自动连接。</font></span></span></span></span></p>

<p style="text-indent:21.0000pt; text-align:justify">&nbsp;</p>

<p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">&nbsp; <strong>&nbsp; (5)天气信息显示界面</strong></font></span></span></span></span></p>

<p style="margin-left:56px; text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">天气显示界面会滚动显示今日天气,今日温度范围,当前天气,当前温度,当前湿度等信息。</font></span></span></span></span></p>

<p style="margin-left:56px; text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">按下任何按键(无论长按,短按)均会退回到</font><font face="微软雅黑">&ldquo;菜单显示界面&rdquo;。</font></span></span></span></span></p>

<p style="margin-left:56px; text-indent:21.0000pt; text-align:justify"> &nbsp;<span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></span></p>

<p style="margin-left:56px; text-indent:21.0000pt; text-align:justify"> &nbsp;</p>

<p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">&nbsp; <strong>&nbsp; (6)闹钟选择界面</strong></font></span></span></span></span></p>

<p style="margin-left:28px; text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">在闹钟选择界面中有</font><font face="微软雅黑">4个可选项,如下图:</font></span></span></span></span></p>

<ul>
        <li style="list-style-type:none">
        <ul>
                <li style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">&lt;:光标在此处时,短按&ldquo;KEY1&rdquo;光标切换到&ldquo;闹钟选择&rdquo;,短按&ldquo;KEY2&rdquo;光标切换为&ldquo;退出&rdquo;,长按&ldquo;KEY1&rdquo;或者&ldquo;KEY2&rdquo;切换为上一个闹钟;&ldquo;&lt;&rdquo;后面的数字为第几个闹钟,范围为01-10。</font></span></span></span></span></li>
                <li style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">闹钟选择:光标在此处时,短按</font><font face="微软雅黑">&ldquo;KEY1&rdquo;光标切换到&ldquo;&gt;&rdquo;,短按&ldquo;KEY2&rdquo;光标切换为&ldquo;&lt;&rdquo;,长按&ldquo;KEY1&rdquo;或者&ldquo;KEY2&rdquo;切换到&ldquo;闹钟详细设置界面&rdquo;;</font></span></span></span></span></li>
                <li style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">&gt;:光标在此处时,短按&ldquo;KEY1&rdquo;光标切换到&ldquo;退出&rdquo;,短按&ldquo;KEY2&rdquo;光标切换为&ldquo;闹钟选择&rdquo;,长按&ldquo;KEY1&rdquo;或者&ldquo;KEY2&rdquo;切换为下一个闹钟;</font></span></span></span></span></li>
                <li style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">退出:光标在此处时,短按</font><font face="微软雅黑">&ldquo;KEY1&rdquo;光标切换到&ldquo;&lt;&rdquo;,短按&ldquo;KEY2&rdquo;光标切换为&ldquo;&gt;&rdquo;,长按&ldquo;KEY1&rdquo;或者&ldquo;KEY2&rdquo;退回到&ldquo;设置显示界面&rdquo;;</font></span></span></span></span></li>
        </ul>
        </li>
</ul>

<p style="margin-left:28px; text-indent:21.0000pt; text-align:justify"> &nbsp;</p>

<p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">&nbsp; &nbsp;<strong> (7)闹钟详细设置界面</strong></font></span></span></span></span></p>

<p style="margin-left:28px; text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">可设置项为</font><font face="微软雅黑">&ldquo;&lt;&rdquo;,&ldquo;&gt;&rdquo;,&ldquo;时&rdquo;,&ldquo;分&rdquo;,&ldquo;开关&rdquo;,&ldquo;一&rdquo;,&ldquo;二&rdquo;,&ldquo;三&rdquo;,&ldquo;四&rdquo;,&ldquo;五&rdquo;,&ldquo;六&rdquo;,&ldquo;日&rdquo;,&ldquo;退出&rdquo;。</font></span></span></span></span></p>

<p style="margin-left:28px; text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">短按</font><font face="微软雅黑">&ldquo;KEY1&rdquo;,光标会切换到下一个可设置项上;</font></span></span></span></span></p>

<p style="margin-left:28px; text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">短按</font><font face="微软雅黑">&ldquo;KEY2&rdquo;,光标会切换到上一个可设置项上;</font></span></span></span></span></p>

<p style="margin-left:28px; text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">长按</font><font face="微软雅黑">&ldquo;KEY1&rdquo;或者&ldquo;KEY2&rdquo;或者按住保持所设置内容有所区别。</font></span></span></span></span></p>

<p style="margin-left:28px; text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">当光标处于不同的设置项上时,设置内容不一样,如下进行说明:</font></span></span></span></span></p>

<p style="margin-left:28px; text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">&ldquo;&lt;&rdquo;:长按&ldquo;KEY1&rdquo;或者&ldquo;KEY2&rdquo;切换到上一个闹钟;</font></span></span></span></span></p>

<p style="margin-left:28px; text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">&ldquo;&gt;&rdquo;:长按&ldquo;KEY1&rdquo;或者&ldquo;KEY2&rdquo;切换到下一个闹钟;</font></span></span></span></span></p>

<p style="margin-left:28px; text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">&ldquo;时&rdquo;:长按&ldquo;KEY1&rdquo;并保持闹钟时持续性加一,长按&ldquo;KEY2&rdquo;并保持闹钟时持续性减一;</font></span></span></span></span></p>

<p style="margin-left:28px; text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">&ldquo;分&rdquo;:长按&ldquo;KEY1&rdquo;并保持闹钟分持续性加一,长按&ldquo;KEY2&rdquo;并保持闹钟分持续性减一;</font></span></span></span></span></p>

<p style="margin-left:28px; text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">&ldquo;开关&rdquo;:当显示为&ldquo;关&rdquo;时,长按&ldquo;KEY1&rdquo;或者&ldquo;KEY2&rdquo;变为&ldquo;开&rdquo;,表示闹钟使能;当显示为&ldquo;开&rdquo;时,长按&ldquo;KEY1&rdquo;或者&ldquo;KEY2&rdquo;变为&ldquo;关&rdquo;,表示闹钟禁能;</font></span></span></span></span></p>

<p style="margin-left:28px; text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">&ldquo;一&rdquo;:当显示为禁能时,长按&ldquo;KEY1&rdquo;或者&ldquo;KEY2&rdquo;变为使能,表示闹钟使能了每周一指定时间都激活;当显示为使能时,长按&ldquo;KEY1&rdquo;或者&ldquo;KEY2&rdquo;变为禁能;</font></span></span></span></span></p>

<p style="margin-left:28px; text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">&ldquo;二&rdquo;:当显示为禁能时,长按&ldquo;KEY1&rdquo;或者&ldquo;KEY2&rdquo;变为使能,表示闹钟使能了每周二指定时间都激活;当显示为使能时,长按&ldquo;KEY1&rdquo;或者&ldquo;KEY2&rdquo;变为禁能;</font></span></span></span></span></p>

<p style="margin-left:28px; text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">&ldquo;三&rdquo;:当显示为禁能时,长按&ldquo;KEY1&rdquo;或者&ldquo;KEY2&rdquo;变为使能,表示闹钟使能了每周三指定时间都激活;当显示为使能时,长按&ldquo;KEY1&rdquo;或者&ldquo;KEY2&rdquo;变为禁能;</font></span></span></span></span></p>

<p style="margin-left:28px; text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">&ldquo;四&rdquo;:当显示为禁能时,长按&ldquo;KEY1&rdquo;或者&ldquo;KEY2&rdquo;变为使能,表示闹钟使能了每周四指定时间都激活;当显示为使能时,长按&ldquo;KEY1&rdquo;或者&ldquo;KEY2&rdquo;变为禁能;</font></span></span></span></span></p>

<p style="margin-left:28px; text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">&ldquo;五&rdquo;:当显示为禁能时,长按&ldquo;KEY1&rdquo;或者&ldquo;KEY2&rdquo;变为使能,表示闹钟使能了每周五指定时间都激活;当显示为使能时,长按&ldquo;KEY1&rdquo;或者&ldquo;KEY2&rdquo;变为禁能;</font></span></span></span></span></p>

<p style="margin-left:28px; text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">&ldquo;六&rdquo;:当显示为禁能时,长按&ldquo;KEY1&rdquo;或者&ldquo;KEY2&rdquo;变为使能,表示闹钟使能了每周六指定时间都激活;当显示为使能时,长按&ldquo;KEY1&rdquo;或者&ldquo;KEY2&rdquo;变为禁能;</font></span></span></span></span></p>

<p style="margin-left:28px; text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">&ldquo;日&rdquo;:当显示为禁能时,长按&ldquo;KEY1&rdquo;或者&ldquo;KEY2&rdquo;变为使能,表示闹钟使能了每周日指定时间都激活;当显示为使能时,长按&ldquo;KEY1&rdquo;或者&ldquo;KEY2&rdquo;变为禁能;</font></span></span></span></span></p>

<p style="margin-left:28px; text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">&ldquo;退出&rdquo;:长按&ldquo;KEY1&rdquo;或者&ldquo;KEY2&rdquo;退回到&ldquo;闹钟选择界面&rdquo;;</font></span></span></span></span></p>

<p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp; </span></span>&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;</p>

<p style="text-align:justify"><strong><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">(8)手动设置时间界面</font></span></span></span></span></strong></p>

<ul>
        <li style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">如果</font><font face="微软雅黑">&ldquo;网络校时&rdquo;功能为使能状态,则不能进行手动设置时间,会显示&ldquo;NTP已启用的提示信息&rdquo;,一秒后自动退回到&ldquo;设置界面&rdquo;。</font></span></span></span></span></li>
</ul>

<p style="margin-left:56px; text-align:justify"> &nbsp;</p>

<ul>
        <li style="list-style-type:none">
        <ul>
                <li style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">如果</font><font face="微软雅黑">&ldquo;网络校时&rdquo;功能为禁能状态,则进入手动时间设置界面,如下图:</font></span></span></span></span></li>
        </ul>
        </li>
</ul>

<p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></span> &nbsp;</p>

<p style="margin-left:56px; text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">手动设置可以设置</font><font face="微软雅黑">&ldquo;时&rdquo;,&ldquo;分&rdquo;,&ldquo;秒&rdquo;,&ldquo;年&rdquo;,&ldquo;月&rdquo;,&ldquo;日&rdquo;&ldquo;退出&rdquo;;</font></span></span></span></span></p>

<p style="margin-left:56px; text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">长按</font><font face="微软雅黑">&ldquo;KEY1&rdquo;光标切换到下一个设置项,长按&ldquo;KEY2&rdquo;光标切换到上一个设置项;</font></span></span></span></span></p>

<p style="margin-left:56px; text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">当光标处于时间设置项上时,短按</font><font face="微软雅黑">&ldquo;KEY1&rdquo;时间加一,短按&ldquo;KEY2&rdquo;时间减一;</font></span></span></span></span></p>

<p style="margin-left:56px; text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">当光标处于</font><font face="微软雅黑">&ldquo;退出&rdquo;时,短按&ldquo;KEY1&rdquo;或者&ldquo;KEY2&rdquo;退回到&ldquo;设置界面&rdquo;。</font></span></span></span></span></p>

<p style="margin-left:56px; text-indent:21.0000pt; text-align:justify">&nbsp;</p>

<p style="text-align:justify"><strong><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">(9)天气城市代码设置界面</font></span></span></span></span></strong></p>

<p style="margin-left:28px; text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">城市代码设置界面主要用于设置获取天气所需要的城市代码,城市代码可以参考:</font></span></span><a href="https://blog.csdn.net/mxh3600/article/details/121580770"><u><span class="17" style="font-size:12.0000pt"><span style="font-family:宋体"><span style="color:#0000ff"><span style="text-decoration:underline"><span style="text-underline:single">https://blog.csdn.net/mxh3600/article/details/121580770</span></span></span></span></span></u></a></span></span></p>

<p style="margin-left:28px; text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">城市代码只支持数字,为</font><font face="微软雅黑">9位长度的数字。</font></span></span></span></span></p>

<p style="margin-left:28px; text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">长按</font><font face="微软雅黑">&ldquo;KEY1&rdquo;光标切换到下一个数字;</font></span></span></span></span></p>

<p style="margin-left:28px; text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">长按</font><font face="微软雅黑">&ldquo;KEY2&rdquo;光标切换到上一个数字;</font></span></span></span></span></p>

<p style="margin-left:28px; text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">当光标在数字上时,短按</font><font face="微软雅黑">&ldquo;KEY1&rdquo;数字加一,短按&ldquo;KEY2&rdquo;数字减一;</font></span></span></span></span></p>

<p style="margin-left:28px; text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">当光标在</font><font face="微软雅黑">&ldquo;退出&rdquo;上时,短按&ldquo;KEY1&rdquo;或者&ldquo;KEY2&rdquo;退回到&ldquo;设置界面&rdquo;,长按&ldquo;KEY1&rdquo;光标切换到城市代码的最后一个数字上,长按&ldquo;KEY2&rdquo;光标切换到城市代码的第一个数字上。</font></span></span></span></span></p>

<p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></span> &nbsp;</p>

<ol start="9">
        <li style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><b><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">KV</font></span></span></b></span></span></li>
</ol>

<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">KV没有单独的任务,主要用于其他模块使用用来保存数据,掉电不丢失。</font></span></span></span></span></p>

<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">会记录如下数据到</font><font face="微软雅黑">KV空间保存:</font></span></span></span></span></p>

<ol>
        <li style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">音量百分比</font></span></span></span></span></li>
        <li style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">按键音效使能状态</font></span></span></span></span></li>
        <li style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">报时使能状态</font></span></span></span></span></li>
        <li style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">NTP网络校时功能使能状态</font></span></span></span></span></li>
        <li style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">天气城市代码</font></span></span></span></span></li>
        <li style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">Wifi名长度</font></span></span></span></span></li>
        <li style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">Wifi名字字符串</font></span></span></span></span></li>
        <li style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">Wifi密码长度</font></span></span></span></span></li>
        <li style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">Wifi密码字符串</font></span></span></span></span></li>
        <li style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">闹钟</font><font face="微软雅黑">1~闹钟10的时间,使能状态,使能星期等设置信息</font></span></span></span></span></li>
        <li style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">初始化状态:主要用于记录上述(</font><font face="微软雅黑">1)-(10)中的配置项是否已经记录在KV中,用于上电时加载默认配置。如果没有记录在KV中装载默认值,记录在了KV中则读取存储的值。</font></span></span></span></span></li>
</ol>

<ol start="10">
        <li style="text-align:justify"><strong><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">RTC</font></span></span></span></span></strong></li>
</ol>

<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">RTC没有单独的任务。上电时自动初始化加载初始设定值,如果NTP或者手动时间或者Web更新了时间,则重新装载设置值到RTC。</font></span></span></span></span></p>

<p style="text-align:justify">&nbsp;</p>

<p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><b><span class="16" style="font-size:16.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">五、作品源码</font></span></span></b></span></span></p>

<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">作品上传到了</font><font face="微软雅黑">gitee,链接:</font></span></span><a href="https://gitee.com/hehung/NetworkClock" target="_blank">https://gitee.com/hehung/NetworkClock</a></span></span></p>

<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">注:源码中修改了库文件,所以库文件一起上传了,如果需要测试这个程序,需要下载整个文件包,下载下来直接编译运行即可。</font></span></span></span></span></p>

<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">源码文件结构:</font></span></span></span></span></p>

<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">app_alarm.c, app_alarm.h: 闹钟处理程序</font></span></span></span></span></p>

<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">app_display.c, app_display.h: OLED屏幕显示处理程序以及切换逻辑</font></span></span></span></span></p>

<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">app_iot.c, app_iot.h: 物联网处理逻辑</font></span></span></span></span></p>

<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">app_key.c, app_key.h: 按键处理逻辑</font></span></span></span></span></p>

<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">app_kv.c, app_kv.h: 设置存储逻辑</font></span></span></span></span></p>

<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">app_main.c: 主函数入口</font></span></span></span></span></p>

<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">app_oled.c, app_oled.h: OLED显示逻辑驱动程序,字符显示,汉字显示,字符串显示,数字显示等</font></span></span></span></span></p>

<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">app_oled_bmp.h: 显示的图片数组</font></span></span></span></span></p>

<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">app_oled_Font.h: 显示的文字数组,汉字,ASCII码等</font></span></span></span></span></p>

<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">app_player.c, app_player.h: 喇叭播放器处理程序</font></span></span></span></span></p>

<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">app_rgb.c, app_rgb.h: RGB LED处理逻辑</font></span></span></span></span></p>

<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">app_rtc.c, app_rtc.h: RTC以及NTP处理逻辑</font></span></span></span></span></p>

<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">app_weather.c, app_weather.h: 天气信息处理逻辑</font></span></span></span></span></p>

<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">Oled_drv.c, oled_drv.h: OLED SPI驱动程序,来自官方,有自己的小改动</font></span></span></span></span></p>

<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">Mp3_hex.h:</font></span></span></span></span></p>

<p style="text-indent:21.0000pt; text-align:justify"> &nbsp;</p>

<p style="text-indent:21.0000pt; text-align:justify">&nbsp;</p>

<p style="text-indent:21.0000pt; text-align:justify">&nbsp;</p>

<p style="text-indent:21.0000pt; text-align:justify">&nbsp;</p>

<p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><b><span style="font-size:16.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">六、视频</font></span></span></b><b><span class="16" style="font-size:16.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">演示</font></span></span></b></span></span></p>

<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">视频将演示具体如何操作网络闹钟作品。</font></span></span></span></span></p>

<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">视频上传到了</font><font face="微软雅黑">bilibili,链接为:</font></span></span><a href="https://www.bilibili.com/video/BV1dr4y1G7yP/" target="_blank">https://www.bilibili.com/video/BV1dr4y1G7yP/</a></span></span></p>

<p style="text-indent:21.0000pt; text-align:justify">&nbsp;</p>

<p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><b><span style="font-size:16.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">七、项目总结</font></span></span></b></span></span></p>

<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">这是我第一次接触平头哥的板子,初次看到这个板子的时候,感觉设计的很精美,遂申请了该比赛。虽然开发过程中遇到了一些问题,但最后都在平头哥小二的帮助下解决了。历经三个月的时间,完成了对开发板资源的了解与实践,最终完成了该作品,算是对学习该开发板的一个总结,也让我对平头哥的板子有了深入的了解,希望越做越好。感谢</font><font face="微软雅黑">EEWORLD与平头哥的支持。</font></span></span></span></span></p>

<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">帖子分享链接:</font></span></span></span></span></p>

<p style="text-indent:21.0000pt; text-align:left"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">【平头哥</font>RVB2601创意应用开发】1. 开箱啦 </span></span><span style="font-size:20px;"><a href="https://bbs.eeworld.com.cn/thread-1195813-1-1.html" target="_blank">https://bbs.eeworld.com.cn/thread-1195813-1-1.html</a></span></span></span></p>

<p style="text-indent:21.0000pt; text-align:left"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">【平头哥</font>RVB2601创意应用开发】2. 试试控制板载RGB </span></span><a href="https://bbs.eeworld.com.cn/thread-1195828-1-1.html" target="_blank">h<span style="font-size:20px;">ttp://bbs.eeworld.com.cn/thread-1195828-1-1.html</span></a></span></span></p>

<p style="text-indent:21.0000pt; text-align:left"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">【平头哥</font>RVB2601创意应用开发】3. 板载按键实验 </span></span><span style="font-size:20px;"><a href="https://bbs.eeworld.com.cn/thread-1195831-1-1.html" target="_blank">https://bbs.eeworld.com.cn/thread-1195831-1-1.html</a></span></span></span></p>

<p style="text-indent:21.0000pt; text-align:left"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">【平头哥</font>RVB2601创意应用开发】4. 运用RTC来记录时间<a href="http://https://bbs.eeworld.com.cn/thread-1195848-1-1.html" target="_blank">http://https://bbs.eeworld.com.cn/thread-1195848-1-1.html</a></span></span></span></span></p>

<p style="text-indent:21.0000pt; text-align:left"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">【平头哥</font>RVB2601创意应用开发】5. 解决W800有时候连不上网的问题<span style="font-size:20px;"> </span></span></span><span style="font-size:20px;"><a href="https://bbs.eeworld.com.cn/thread-1205623-1-1.html" target="_blank">https://bbs.eeworld.com.cn/thread-1205623-1-1.html</a></span></span></span></p>

<p style="text-indent:21.0000pt; text-align:left"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">【平头哥</font>RVB2601创意应用开发】6. 获取天气信息<a href="http://https://bbs.eeworld.com.cn/thread-1205624-1-1.html" target="_blank">http://https://bbs.eeworld.com.cn/thread-1205624-1-1.html</a></span></span></span></span></p>

<p style="text-indent:21.0000pt; text-align:left"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">【平头哥</font>RVB2601创意应用开发】7. 物联网控制 </span></span><span style="font-size:20px;"><a href="https://bbs.eeworld.com.cn/thread-1205711-1-1.html" target="_blank">https://bbs.eeworld.com.cn/thread-1205711-1-1.html</a></span></span></span></p>

<p style="text-indent:21.0000pt; text-align:left">&nbsp;</p>

<p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><b><span style="font-size:16.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">八、其他</font></span></span></b></span></span></p>

<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">说说开发过程中遇到的一些编译器上的问题吧:</font></span></span></span></span></p>

<ol>
        <li style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">CDK开发调试及其不方便,有一些快捷键不能使用,函数跳转失效,按照论坛的帖子操作之后还是不行,之后便使用VSCode编辑代码,CDK编译下载;</font></span></span></span></span></li>
        <li style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">说说目前</font><font face="微软雅黑">CDK还存在的问题,主要是代码编译时很多错误识别出来之后不指定具体错误,只是会报编译失败,导致找错花费大量时间:</font></span></span></span></span>
        <ol>
                <li style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">使用了未定义的变量;</font></span></span></span></span></li>
                <li style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">使用了其他</font><font face="微软雅黑">.h文件中的函数,但是没有包含.h文件;</font></span></span></span></span></li>
                <li style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">代码结束未加分号;</font></span></span></span></span></li>
                <li style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">静态函数为声明且在定义之前被调用;</font></span></span></span></span></li>
                <li style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;"><span class="16" style="font-size:14.0000pt"><span style="font-family:微软雅黑"><font face="微软雅黑">调用函数时,参入的参数数量不对。</font></span></span></span></span></li>
        </ol>
        </li>
</ol>

<p style="text-align:justify">&nbsp;</p>

<p style="text-align:justify">&nbsp;<span style="font-size:20px;"> &nbsp; 在word上写得文档在这里格式有些对不上,所以word文档也直接上传,见附件。</span></p>

<p style="text-align:justify"></p>

<p style="text-align:justify">&nbsp;</p>

<p style="text-align:justify">&nbsp;</p>

lugl4313820 发表于 2022-6-4 20:57

帖子写得非常好,希望拿奖,一鸣惊的人才子,继续加油!

hehung 发表于 2022-6-5 09:52

lugl4313820 发表于 2022-6-4 20:57
帖子写得非常好,希望拿奖,一鸣惊的人才子,继续加油!

<p>谢谢<img height="28" src="https://bbs.eeworld.com.cn/static/editor/plugins/hkemoji/sticker/facebook/smiling-face-with-open-mouth-and-tightly-closed-eyes_1f606.png" width="28" /></p>
页: [1]
查看完整版本: 【平头哥RVB2601创意应用开发】网络闹钟