﻿<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://www.yfrobot.com.cn/wiki/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh">
		<id>https://www.yfrobot.com.cn/wiki/index.php?action=history&amp;feed=atom&amp;title=%E6%A0%91%E8%8E%93%E6%B4%BE_Pico_With_MicroPython</id>
		<title>树莓派 Pico With MicroPython - 版本历史</title>
		<link rel="self" type="application/atom+xml" href="https://www.yfrobot.com.cn/wiki/index.php?action=history&amp;feed=atom&amp;title=%E6%A0%91%E8%8E%93%E6%B4%BE_Pico_With_MicroPython"/>
		<link rel="alternate" type="text/html" href="https://www.yfrobot.com.cn/wiki/index.php?title=%E6%A0%91%E8%8E%93%E6%B4%BE_Pico_With_MicroPython&amp;action=history"/>
		<updated>2026-05-11T05:49:03Z</updated>
		<subtitle>本wiki的该页面的版本历史</subtitle>
		<generator>MediaWiki 1.22.6</generator>

	<entry>
		<id>https://www.yfrobot.com.cn/wiki/index.php?title=%E6%A0%91%E8%8E%93%E6%B4%BE_Pico_With_MicroPython&amp;diff=5778&amp;oldid=prev</id>
		<title>2023年8月26日 (六) 03:14 Allblue</title>
		<link rel="alternate" type="text/html" href="https://www.yfrobot.com.cn/wiki/index.php?title=%E6%A0%91%E8%8E%93%E6%B4%BE_Pico_With_MicroPython&amp;diff=5778&amp;oldid=prev"/>
				<updated>2023-08-26T03:14:53Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;←上一版本&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;2023年8月26日 (六) 03:14的版本&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第4行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第4行：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== pico with micropython&amp;#160;入门视频教程 ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== pico with micropython&amp;#160;入门视频教程 ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;西瓜视频链接：https://www.ixigua.com/&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;7255207072072434237&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;西瓜视频链接：https://www.ixigua.com/&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;7092304594662851108&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*&amp;#160;软件安装与配置&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*&amp;#160;软件安装与配置&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Allblue</name></author>	</entry>

	<entry>
		<id>https://www.yfrobot.com.cn/wiki/index.php?title=%E6%A0%91%E8%8E%93%E6%B4%BE_Pico_With_MicroPython&amp;diff=5771&amp;oldid=prev</id>
		<title>2023年8月26日 (六) 03:02 Allblue</title>
		<link rel="alternate" type="text/html" href="https://www.yfrobot.com.cn/wiki/index.php?title=%E6%A0%91%E8%8E%93%E6%B4%BE_Pico_With_MicroPython&amp;diff=5771&amp;oldid=prev"/>
				<updated>2023-08-26T03:02:05Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;←上一版本&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;2023年8月26日 (六) 03:02的版本&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第1行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第1行：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;== pico with micropython&amp;#160;入门视频教程 ==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;西瓜视频链接：https://www.ixigua.com/7255207072072434237&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;*&amp;#160;软件安装与配置&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;*&amp;#160;程序编译运行&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;html&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;iframe id='picomicropython' width='40%' src='https://www.ixigua.com/iframe/7092304594662851108?autoplay=0' frameborder=0 referrerpolicy=&amp;quot;unsafe-url&amp;quot; allowfullscreen&amp;gt;&amp;lt;/iframe&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt; document.getElementById(&amp;quot;picomicropython&amp;quot;).style.height=document.getElementById(&amp;quot;picomicropython&amp;quot;).scrollWidth*0.6+&amp;quot;px&amp;quot;; &amp;lt;/script&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/html&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Thonny IDE&amp;#160;软件环境配置 ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Thonny IDE&amp;#160;软件环境配置 ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Allblue</name></author>	</entry>

	<entry>
		<id>https://www.yfrobot.com.cn/wiki/index.php?title=%E6%A0%91%E8%8E%93%E6%B4%BE_Pico_With_MicroPython&amp;diff=4747&amp;oldid=prev</id>
		<title>2022年5月17日 (二) 00:26 Allblue</title>
		<link rel="alternate" type="text/html" href="https://www.yfrobot.com.cn/wiki/index.php?title=%E6%A0%91%E8%8E%93%E6%B4%BE_Pico_With_MicroPython&amp;diff=4747&amp;oldid=prev"/>
				<updated>2022-05-17T00:26:54Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;←上一版本&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;2022年5月17日 (二) 00:26的版本&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第1行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第1行：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==&amp;#160;软件环境配置 ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Thonny IDE &lt;/ins&gt;软件环境配置 ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;为了方便在电脑上使用MicroPython开发Pico板，建议下载Thonny IDE.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;为了方便在电脑上使用MicroPython开发Pico板，建议下载Thonny IDE.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Allblue</name></author>	</entry>

	<entry>
		<id>https://www.yfrobot.com.cn/wiki/index.php?title=%E6%A0%91%E8%8E%93%E6%B4%BE_Pico_With_MicroPython&amp;diff=4739&amp;oldid=prev</id>
		<title>Allblue：以“ == 软件环境配置 ==  为了方便在电脑上使用MicroPython开发Pico板，建议下载Thonny IDE.  * 下载Thonny IDE并按照步骤安装 ** [https://gith...”为内容创建页面</title>
		<link rel="alternate" type="text/html" href="https://www.yfrobot.com.cn/wiki/index.php?title=%E6%A0%91%E8%8E%93%E6%B4%BE_Pico_With_MicroPython&amp;diff=4739&amp;oldid=prev"/>
				<updated>2022-05-17T00:15:22Z</updated>
		
		<summary type="html">&lt;p&gt;以“ == 软件环境配置 ==  为了方便在电脑上使用MicroPython开发Pico板，建议下载Thonny IDE.  * 下载Thonny IDE并按照步骤安装 ** [https://gith...”为内容创建页面&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
== 软件环境配置 ==&lt;br /&gt;
&lt;br /&gt;
为了方便在电脑上使用MicroPython开发Pico板，建议下载Thonny IDE.&lt;br /&gt;
&lt;br /&gt;
* 下载Thonny IDE并按照步骤安装&lt;br /&gt;
** [https://github.com/thonny/thonny/releases/download/v3.3.3/thonny-3.3.3.exe Thonny IDE下载链接（Windows版本）]&lt;br /&gt;
** [https://thonny.org/ Thonny 官网]&lt;br /&gt;
&lt;br /&gt;
* 安装完成之后，第一次要配置语言和主板环境，由于我们是为了使用Pico，所以注意主板环境选择Raspberry Pi 选项。&lt;br /&gt;
&lt;br /&gt;
[[File:Pico-R3-Tonny1.png|600px]]&lt;br /&gt;
&lt;br /&gt;
* 配置Micrpython环境及选择Pico端口。&lt;br /&gt;
** 先将Raspberry Pi Pico 接入电脑，左键点击Thonny右下角的配置环境选项--》选择configture interpreter&lt;br /&gt;
** 在弹出的窗口栏中选择MicroPython(Raspberry Pi Pico),同时选择对应的端口。&lt;br /&gt;
&lt;br /&gt;
[[File:Raspberry-Pi-Pico-Basic-Kit-M-2.png|600px]]&lt;br /&gt;
&lt;br /&gt;
[[File:Raspberry-Pi-Pico-Basic-Kit-M-3.png|600px]]&lt;br /&gt;
&lt;br /&gt;
* 点击ok后返回到Thonny主界面，下载固件库到Pico里面，然后点击停止按钮，在Shell窗口中即可显示当前使用到的环境。&lt;br /&gt;
* Pico在windows下载固件库方法: 按住BOOT键后连接电脑后，松开BOOT键，电脑会出现一个可移动磁盘，将固件库复制进去即可。&lt;br /&gt;
* RP2040在windows下载固件库方法: 连接电脑后，同时按下BOOT键跟RESET键,先松开RESET键再松开BOOT键，电脑会出现一个可移动磁盘，将固件库复制进去即可（用Pico的方式也可以）。&lt;br /&gt;
&lt;br /&gt;
[[File:Raspberry-Pi-Pico-Basic-Kit-M-4.png|600px]]&lt;br /&gt;
&lt;br /&gt;
== 示例实验 ==&lt;br /&gt;
&lt;br /&gt;
=== External LED 实验 ===&lt;br /&gt;
&lt;br /&gt;
* 按照下图连接好硬件，连接好接入电脑的Micro USB，在Thonny打开示例程序Lesson-5 External LED中的python文件，运行示例程序可以看到红灯有在闪烁的现象。&lt;br /&gt;
* 使用注意事项：LED较长的引脚为正极，较短的为负极，负极应该接GND，正极应该和GPIO输出口相连，使用时必须接上电阻。&lt;br /&gt;
&lt;br /&gt;
[[File:Raspberry-Pi-Pico-Basic-Kit-External-LED-blink.png]]&lt;br /&gt;
&lt;br /&gt;
* 代码解析&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
led_external = machine.Pin(15, machine.Pin.OUT) #设置GP15为输出模式&lt;br /&gt;
while True: &lt;br /&gt;
   led_external.toggle() #每过5秒钟让LED灯的状态改变一次&lt;br /&gt;
   utime.sleep(5)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Traffic Light System 实验 ===&lt;br /&gt;
&lt;br /&gt;
* 按照下图连接好硬件，连接好接入电脑的Micro USB，在Thonny打开示例程序Lesson-9 Traffic-Light-System中的python文件，运行程序可以看到交通灯带正常的运行，当按下按键时会触发蜂鸣器。&lt;br /&gt;
* 使用注意事项：LED较长的引脚为正极，较短的为负极，负极应该接GND，正极应该和GPIO输出口相连，使用时必须接上电阻;蜂鸣器的红线接GPIO口输出，黑线接GND。&lt;br /&gt;
&lt;br /&gt;
[[File:Raspberry-Pi-Pico-Basic-Kit-Traffic-Light-System.png]]&lt;br /&gt;
&lt;br /&gt;
* 代码解析&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
def button_reader_thread():  #检测按键是否被按下&lt;br /&gt;
   global button_pressed &lt;br /&gt;
   while True:&lt;br /&gt;
       if button.value() == 1: &lt;br /&gt;
           button_pressed = True&lt;br /&gt;
           &lt;br /&gt;
_thread.start_new_thread(button_reader_thread, ()) #用开启线程的方式去检测按键&lt;br /&gt;
while True:&lt;br /&gt;
   if button_pressed == True: #如果按键被按下，红灯亮起，蜂鸣器响闹&lt;br /&gt;
       led_red.value(1) &lt;br /&gt;
       for i in range(10): &lt;br /&gt;
           buzzer.value(1) &lt;br /&gt;
           utime.sleep(0.2) &lt;br /&gt;
           buzzer.value(0) &lt;br /&gt;
           utime.sleep(0.2) &lt;br /&gt;
       global button_pressed &lt;br /&gt;
       button_pressed = False &lt;br /&gt;
   led_red.value(1)  #正常情况下红灯边绿灯时黄灯会亮两秒，然后黄灯和红灯灭，绿灯亮&lt;br /&gt;
   utime.sleep(5)     #由绿灯边红灯时，绿灯先灭，黄色亮两秒，然后红灯亮&lt;br /&gt;
   led_amber.value(1) &lt;br /&gt;
   utime.sleep(2) &lt;br /&gt;
   led_red.value(0) &lt;br /&gt;
   led_amber.value(0) &lt;br /&gt;
   led_green.value(1) &lt;br /&gt;
   utime.sleep(5) &lt;br /&gt;
   led_green.value(0) &lt;br /&gt;
   led_amber.value(1) &lt;br /&gt;
   utime.sleep(5) &lt;br /&gt;
   led_amber.value(0)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Burglar Alarm LED Buzzer 实验 ===&lt;br /&gt;
&lt;br /&gt;
* 按照下图连接好硬件，连接好接入电脑的Micro USB，在Thonny打开示例程序Lesson-14 Burglar Alarm LED Buzzer中的python文件,运行程序可以看到，当人为的在Passive infrared sensor前晃动时，LED灯闪亮的同时蜂鸣器也会报警。&lt;br /&gt;
* 使用注意事项：Passive infrared sensor 的中间引脚为数据输出引脚，两边的引脚分别接入VCC和GND即可。&lt;br /&gt;
&lt;br /&gt;
[[File:Raspberry-Pi-Pico-Basic-Kit-Burglar Alarm LED Two Buzzer.png]]&lt;br /&gt;
&lt;br /&gt;
* 代码解析&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
def pir_handler(pin):  #中断处理函数，蜂鸣器响，led快速闪烁&lt;br /&gt;
   print(&amp;quot;ALARM! Motion detected!&amp;quot;) &lt;br /&gt;
   for i in range(50): &lt;br /&gt;
       led.toggle() &lt;br /&gt;
       buzzer.toggle() &lt;br /&gt;
       utime.sleep_ms(100)&lt;br /&gt;
sensor_pir.irq(trigger=machine.Pin.IRQ_RISING, handler=pir_handler)#开启中断，当人体传感器检测到异常时就会今天中断处理函数处理&lt;br /&gt;
while True:  #无异常状态下会每隔5秒改变一次LDE的状态&lt;br /&gt;
   led.toggle() &lt;br /&gt;
   utime.sleep(5)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Potentiometer 实验 ===&lt;br /&gt;
&lt;br /&gt;
* 按照下图连接好硬件，连接好接入电脑的Micro USB，在Thonny打开示例程序Lesson-16 Potentiometer中的python文件,运行程序，旋转电位器可以看到Sheel窗口中打印出来的电压值也在改变。&lt;br /&gt;
* 使用注意事项：Potentiometer的中间引脚为数据输出口，两边的引脚分别接上GND和VCC即可。&lt;br /&gt;
&lt;br /&gt;
[[File:Raspberry-Pi-Pico-Basic-Kit-Potentionmeter.png]]&lt;br /&gt;
&lt;br /&gt;
* 代码解析&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
potentiometer = machine.ADC(26) #将GP26作为模拟信号采集引脚&lt;br /&gt;
conversion_factor = 3.3 / (65535)&lt;br /&gt;
while True:&lt;br /&gt;
   voltage = potentiometer.read_u16() * conversion_factor #将采集到的数据进行格式化转换成电压值&lt;br /&gt;
   print(voltage) #打印电压信息，电压值会随着滑动变阻器旋转而变化&lt;br /&gt;
   utime.sleep(2)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== WS2812 实验 ===&lt;br /&gt;
&lt;br /&gt;
* 按照下图连接好硬件，连接好接入电脑的Micro USB，在Thonny打开示例程序Lesson-25 WS2812中的WS2812_RGB_LED.py文件,运行程序可以一次看到蓝、红、绿、白的RGB颜色。&lt;br /&gt;
&lt;br /&gt;
[[File:Raspberry-Pi-Pico-Basic-Kit-WS2812.png]]&lt;br /&gt;
&lt;br /&gt;
* 代码解析&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
#这一段代码使用到的是状态机机制,如下代码是一个装饰器，在装饰器中我们可以硬件进行初始化、设定引脚的电平等等。&lt;br /&gt;
#label(&amp;quot;bitloop&amp;quot;) 我们可以在代码中定义一下标记，方便我们通过跳转的方式跳到他们这里执行。&lt;br /&gt;
#jmp(not_x,&amp;quot;do_zero&amp;quot;) 当x=0时，我们就调整到标签“do_zero”。&lt;br /&gt;
#nop() .set(0) [T2 - 1] 当x=0时，会跳转到这里执行。&lt;br /&gt;
@asm_pio(sideset_init=PIO.OUT_LOW, out_shiftdir=PIO.SHIFT_LEFT, autopull=True, pull_thresh=24)&lt;br /&gt;
def ws2812():&lt;br /&gt;
   T1 = 2&lt;br /&gt;
   T2 = 5&lt;br /&gt;
   T3 = 1&lt;br /&gt;
   label(&amp;quot;bitloop&amp;quot;)&lt;br /&gt;
   out(x, 1)               .side(0)    [T3 - 1] &lt;br /&gt;
   jmp(not_x, &amp;quot;do_zero&amp;quot;)   .side(1)    [T1 - 1] &lt;br /&gt;
   jmp(&amp;quot;bitloop&amp;quot;)          .side(1)    [T2 - 1] &lt;br /&gt;
   label(&amp;quot;do_zero&amp;quot;)&lt;br /&gt;
   nop()                   .side(0)    [T2 - 1]&lt;br /&gt;
# Create the StateMachine with the ws2812 program, outputting on Pin(22).&lt;br /&gt;
sm = StateMachine(0, ws2812, freq=8000000, sideset_base=Pin(0)) #创建状态机&lt;br /&gt;
# Start the StateMachine, it will wait for data on its FIFO.&lt;br /&gt;
sm.active(1) #开始状态机&lt;br /&gt;
# Display a pattern on the LEDs via an array of LED RGB values.&lt;br /&gt;
ar = array.array(&amp;quot;I&amp;quot;, [0 for _ in range(NUM_LEDS)])&lt;br /&gt;
print(ar)&lt;br /&gt;
print(&amp;quot;blue&amp;quot;)&lt;br /&gt;
for j in range(0, 255): &lt;br /&gt;
   for i in range(NUM_LEDS): &lt;br /&gt;
       ar[i] = j &lt;br /&gt;
   sm.put(ar,8)  #put()的方法是将数据放入状态机的输出FIFO&lt;br /&gt;
   time.sleep_ms(5)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== LCD1602 I2C 实验 ===&lt;br /&gt;
&lt;br /&gt;
* 按照下图连接好硬件，连接好接入电脑的Micro USB，在Thonny打开示例程序Lesson-21 LCD1602 I2C中的python文件，先将RGB1602.py文件另存为Raspberry Pi Pico中，运行Choose_Color.py可以看到每5秒切换一种不同的颜色；运行Discoloration.py文件可以看到RGB颜色渐变的效果。&lt;br /&gt;
&lt;br /&gt;
[[File:Raspberry-Pi-Pico-Basic-Kit-LCD1602-I2C.jpg]]&lt;br /&gt;
&lt;br /&gt;
* 代码解析&lt;br /&gt;
&lt;br /&gt;
Choose_Color.py&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
#定义颜色&lt;br /&gt;
rgb9 = (0,255,0) #青色’&lt;br /&gt;
lcd.setCursor(0, 0) #设置游标位置&lt;br /&gt;
# print the number of seconds since reset:&lt;br /&gt;
lcd.printout(&amp;quot;Waveshare&amp;quot;) #写入字符&lt;br /&gt;
lcd.setCursor(0, 1) #设置游标位置到第二行第零列&lt;br /&gt;
lcd.printout(&amp;quot;Hello,World!&amp;quot;)#写入字符&lt;br /&gt;
lcd.setRGB(rgb1[0],rgb1[1],rgb1[2]); #设置背光&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Discoloration.py&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
t=0&lt;br /&gt;
while True:&lt;br /&gt;
 &lt;br /&gt;
   r = int((abs(math.sin(3.14*t/180)))*255);  #RGB随着时间的变化而变化&lt;br /&gt;
   g = int((abs(math.sin(3.14*(t+60)/180)))*255);&lt;br /&gt;
   b = int((abs(math.sin(3.14*(t+120)/180)))*255);&lt;br /&gt;
   t = t + 3;&lt;br /&gt;
   lcd.setRGB(r,g,b);#重新设置RGB的值&lt;br /&gt;
# set the cursor to column 0, line 1&lt;br /&gt;
   lcd.setCursor(0, 0) #定位到第一行第零列&lt;br /&gt;
# print the number of seconds since reset:&lt;br /&gt;
   lcd.printout(&amp;quot;Waveshare&amp;quot;)#写入字符&lt;br /&gt;
   lcd.setCursor(0, 1) #定位到第二行第零列&lt;br /&gt;
   lcd.printout(&amp;quot;Hello,World!&amp;quot;)#写入字符&lt;br /&gt;
   time.sleep(0.3)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Allblue</name></author>	</entry>

	</feed>