<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>状态机 - 标签 - SynJadeX::Blog</title><link>https://www.synjadex.top/tags/%E7%8A%B6%E6%80%81%E6%9C%BA/</link><description>知识与你分享</description><generator>Hugo 0.167.0 &amp; FixIt v1.0.0-beta-mukxzari</generator><language>zh-CN</language><managingEditor>synjadex@outlook.com (SynJadeX)</managingEditor><webMaster>synjadex@outlook.com (SynJadeX)</webMaster><lastBuildDate>Thu, 15 Oct 2026 23:15:01 +0800</lastBuildDate><atom:link href="https://www.synjadex.top/tags/%E7%8A%B6%E6%80%81%E6%9C%BA/index.xml" rel="self" type="application/rss+xml"/><item><title>状态机模型的介绍</title><link>https://www.synjadex.top/posts/2026-07-09-finite-state-machine-intro/</link><pubDate>Thu, 09 Jul 2026 23:48:04 +0800</pubDate><author>synjadex@outlook.com (SynJadeX)</author><guid>https://www.synjadex.top/posts/2026-07-09-finite-state-machine-intro/</guid><category domain="https://www.synjadex.top/categories/%E8%AE%A1%E7%AE%97%E6%9C%BA%E7%A7%91%E5%AD%A6/">计算机科学</category><description>&lt;h1 class="heading-element" id="引子"&gt;&lt;span&gt;引子&lt;/span&gt;&#10; &lt;a href="#%e5%bc%95%e5%ad%90" class="heading-mark"&gt;&lt;svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"&gt;&lt;path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"&gt;&lt;/path&gt;&lt;/svg&gt;&lt;/a&gt;&#10;&lt;/h1&gt;&lt;ol&gt;&#10;&lt;li&gt;&#10;&lt;p&gt;一扇自动门，它有两种状态：打开和关闭。&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;平常是关闭的&lt;/li&gt;&#10;&lt;li&gt;当有人靠近时，自动打开&lt;/li&gt;&#10;&lt;li&gt;门打开后，感应人离开了，切换回关闭状态。&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&#10;&lt;p&gt;一个与门逻辑元器件，它输出有两种状态：高电平和低电平&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;当输入中有低电平，则输出低电平&lt;/li&gt;&#10;&lt;li&gt;当输入中没有低电平，则输出高电平&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&#10;&lt;p&gt;一个电路，它感应CPU的温度，控制风扇的转速：&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&#10;&lt;p&gt;当CPU温度在55~65°C时，风扇转速为一档&lt;/p&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&#10;&lt;p&gt;当CPU温度在66~80°C时，风扇转速为二档&lt;/p&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&#10;&lt;p&gt;当CPU温度超过80°C时，风扇转速为三档&lt;/p&gt;&#10;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/li&gt;&#10;&lt;/ol&gt;</description></item></channel></rss>