<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-CN">
		<id>http:///https//wiki.microduino.cn/index.php?action=history&amp;feed=atom&amp;title=%E7%BF%98%E7%BF%98%E6%9D%BF</id>
		<title>翘翘板 - 版本历史</title>
		<link rel="self" type="application/atom+xml" href="http:///https//wiki.microduino.cn/index.php?action=history&amp;feed=atom&amp;title=%E7%BF%98%E7%BF%98%E6%9D%BF"/>
		<link rel="alternate" type="text/html" href="https//wiki.microduino.cn/index.php?title=%E7%BF%98%E7%BF%98%E6%9D%BF&amp;action=history"/>
		<updated>2026-04-21T07:12:55Z</updated>
		<subtitle>本wiki的该页面的版本历史</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https//wiki.microduino.cn/index.php?title=%E7%BF%98%E7%BF%98%E6%9D%BF&amp;diff=8350&amp;oldid=prev</id>
		<title>853387039@qq.com：Created page with &quot;{{Language| 跷跷板}} {| style=&quot;width: 800px;&quot; |- | ==目的== 通过两个Crash按键来模拟两个人，结合Scratch玩转跷跷板。  ==原理== 判断Crash按键是...&quot;</title>
		<link rel="alternate" type="text/html" href="https//wiki.microduino.cn/index.php?title=%E7%BF%98%E7%BF%98%E6%9D%BF&amp;diff=8350&amp;oldid=prev"/>
				<updated>2015-05-18T08:44:54Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Language| 跷跷板}} {| style=&amp;quot;width: 800px;&amp;quot; |- | ==目的== 通过两个Crash按键来模拟两个人，结合Scratch玩转跷跷板。  ==原理== 判断Crash按键是...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Language| 跷跷板}}&lt;br /&gt;
{| style=&amp;quot;width: 800px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
==目的==&lt;br /&gt;
通过两个Crash按键来模拟两个人，结合Scratch玩转跷跷板。&lt;br /&gt;
&lt;br /&gt;
==原理==&lt;br /&gt;
判断Crash按键是否按下，根据按下的值来控制跷跷板的倾斜状态，实现跷跷板效果。&lt;br /&gt;
&lt;br /&gt;
==设备==&lt;br /&gt;
*'''[[Microduino-CoreUSB/zh]]'''&lt;br /&gt;
*'''[[Microduino-Sensorhub/zh]]'''&lt;br /&gt;
*'''[[Microduino-Crash/zh]]''' &lt;br /&gt;
&lt;br /&gt;
 [[File: Seesaw.jpg|600px|center|thumb]]&lt;br /&gt;
&lt;br /&gt;
==搭建硬件==&lt;br /&gt;
*Setup 1：将CoreUSB与Sensorhub叠堆&lt;br /&gt;
[[File:CoreUSB_Sensorhub.jpg|600px|center|thumb]]&lt;br /&gt;
*Setup 2：将两个Crash通过分线器接入D2，D3。&lt;br /&gt;
[[File: Seesaw_Crash1.jpg|600px|center|thumb]]&lt;br /&gt;
[[File: Seesaw_Crash2.jpg|600px|center|thumb]]&lt;br /&gt;
&lt;br /&gt;
==软件调试==&lt;br /&gt;
*Setup 1：搭建Scratch编程环境&lt;br /&gt;
**[[S4A Scratch Getting started]]&lt;br /&gt;
*Setup 2：开始编程。示例程序下载:[[File: Seesaw.zip]]&lt;br /&gt;
*Setup 3：代码说明，一部分监测两个Crash按键的值，另一部分根据按键的值在一定范围内做出倾斜。&lt;br /&gt;
**需要新建两个变量来存储两个Crash按键的数据。&lt;br /&gt;
[[File: Seesaw_mCookie1.gif|600px|center|thumb]]&lt;br /&gt;
**根据两个变量来倾斜跷跷板。&lt;br /&gt;
[[File: Seesaw_mCookie2.gif|600px|center|thumb]]&lt;br /&gt;
&lt;br /&gt;
==结果==&lt;br /&gt;
按下左边的Crash按键，跷跷板向左边倾斜一定角度，按下右边按键，跷跷板向左边倾斜一定角度。&lt;br /&gt;
&lt;br /&gt;
==视频==&lt;br /&gt;
&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>853387039@qq.com</name></author>	</entry>

	</feed>