<?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=Microduino-Joypad-Standard_Angry_Birds</id>
		<title>Microduino-Joypad-Standard Angry Birds - 版本历史</title>
		<link rel="self" type="application/atom+xml" href="http:///https//wiki.microduino.cn/index.php?action=history&amp;feed=atom&amp;title=Microduino-Joypad-Standard_Angry_Birds"/>
		<link rel="alternate" type="text/html" href="https//wiki.microduino.cn/index.php?title=Microduino-Joypad-Standard_Angry_Birds&amp;action=history"/>
		<updated>2026-06-14T06:21:03Z</updated>
		<subtitle>本wiki的该页面的版本历史</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https//wiki.microduino.cn/index.php?title=Microduino-Joypad-Standard_Angry_Birds&amp;diff=6393&amp;oldid=prev</id>
		<title>853387039@qq.com：/* Bill of Material */</title>
		<link rel="alternate" type="text/html" href="https//wiki.microduino.cn/index.php?title=Microduino-Joypad-Standard_Angry_Birds&amp;diff=6393&amp;oldid=prev"/>
				<updated>2014-11-22T06:28:40Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Bill of Material&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;zh-CN&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;←上一版本&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;2014年11月22日 (六) 06:28的版本&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l15&quot; &gt;第15行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第15行：&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;|[[Microduino-CoreUSB]]||1||Core board &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;|[[Microduino-CoreUSB]]||1||Core board &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;div&gt;|-&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;|-&lt;/div&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;|Microduino-Joypad-&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Game &lt;/del&gt;||1||Remote control &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;|Microduino-Joypad-&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Standard &lt;/ins&gt;||1||Remote control &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;div&gt;|}&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;|}&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;/table&gt;</summary>
		<author><name>853387039@qq.com</name></author>	</entry>

	<entry>
		<id>https//wiki.microduino.cn/index.php?title=Microduino-Joypad-Standard_Angry_Birds&amp;diff=6353&amp;oldid=prev</id>
		<title>1304410487@qq.com：Created page with &quot;{| style=&quot;width: 800px;&quot; |- | ==Outline== Here we adopt Microduino-Joypad-Game to play Angry Birds on the computer.  ==Principle== We adopt [Microduino-CoreUSB]] to simulate a...&quot;</title>
		<link rel="alternate" type="text/html" href="https//wiki.microduino.cn/index.php?title=Microduino-Joypad-Standard_Angry_Birds&amp;diff=6353&amp;oldid=prev"/>
				<updated>2014-11-21T08:38:41Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;{| style=&amp;quot;width: 800px;&amp;quot; |- | ==Outline== Here we adopt Microduino-Joypad-Game to play Angry Birds on the computer.  ==Principle== We adopt [Microduino-CoreUSB]] to simulate a...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{| style=&amp;quot;width: 800px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
==Outline==&lt;br /&gt;
Here we adopt Microduino-Joypad-Game to play Angry Birds on the computer. &lt;br /&gt;
==Principle==&lt;br /&gt;
We adopt [Microduino-CoreUSB]] to simulate a keyboard. By Microduino-Joypad-Game, we can simulate keys of a computer mouse and play the game. &lt;br /&gt;
&lt;br /&gt;
==Bill of Material==&lt;br /&gt;
*Microduino Equipment &lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Module||Number||Function&lt;br /&gt;
|-&lt;br /&gt;
|[[Microduino-CoreUSB]]||1||Core board &lt;br /&gt;
|-&lt;br /&gt;
|Microduino-Joypad-Game ||1||Remote control &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Download==&lt;br /&gt;
*Library file download：https://github.com/wasdpkj/libraries；&lt;br /&gt;
**You will need：_01_Microduino_TFT and _08_Microduino_Shield_Joypad. Decompress the downloaded library file to libraries of Arduino IDE and then restart IDE compiler.  &lt;br /&gt;
Code：&lt;br /&gt;
&amp;lt;source lang=&amp;quot;cpp&amp;quot;&amp;gt;&lt;br /&gt;
#include &amp;lt;Joypad.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
int mouseX,mouseY,xValue,yValue;&lt;br /&gt;
&lt;br /&gt;
boolean Joy_sw,Joy1_sw;&lt;br /&gt;
&lt;br /&gt;
boolean sw_l,sw_r;&lt;br /&gt;
&lt;br /&gt;
void setup()&lt;br /&gt;
{&lt;br /&gt;
  Serial.begin(9600);       // initialize serial communication with your computer&lt;br /&gt;
  Mouse.begin();            // take control of the mouse&lt;br /&gt;
  Keyboard.begin();&lt;br /&gt;
  delay(2000);&lt;br /&gt;
} &lt;br /&gt;
&lt;br /&gt;
void loop()&lt;br /&gt;
{&lt;br /&gt;
  xValue = Joypad.readJoystick1X();        // read the joystick's X position&lt;br /&gt;
  yValue = Joypad.readJoystick1Y();        // read the joystick's Y position&lt;br /&gt;
&lt;br /&gt;
  sw_l=Joypad.readButton(CH_SWITCH_L);&lt;br /&gt;
  sw_r=Joypad.readButton(CH_SWITCH_R);&lt;br /&gt;
&lt;br /&gt;
  Joy_sw=Joypad.readButton(CH_JOYSTICK_SW);&lt;br /&gt;
  Joy1_sw=Joypad.readButton(CH_JOYSTICK1_SW);&lt;br /&gt;
&lt;br /&gt;
  if(sw_r==true)&lt;br /&gt;
  {&lt;br /&gt;
    mouseX = map( xValue,-512, 512, 15, -15);  // map the X value to a range of movement for the mouse X&lt;br /&gt;
    mouseY = map( yValue,-512, 512, -15, 15);  // map the Y value to a range of movement for the mouse Y&lt;br /&gt;
    Mouse.move(mouseX, mouseY, 0);                 // move the mouse&lt;br /&gt;
&lt;br /&gt;
    if(Joy_sw==true) &lt;br /&gt;
      Mouse.release(MOUSE_LEFT); &lt;br /&gt;
    else&lt;br /&gt;
      Mouse.press(MOUSE_LEFT);&lt;br /&gt;
&lt;br /&gt;
    if(Joy1_sw==true) &lt;br /&gt;
      Mouse.release(MOUSE_RIGHT); &lt;br /&gt;
    else&lt;br /&gt;
      Mouse.press(MOUSE_RIGHT);&lt;br /&gt;
&lt;br /&gt;
    delay(30);&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Debugging==&lt;br /&gt;
*Step 1: Prepare Microduino-Joypad-Game and you can refer to: &lt;br /&gt;
[[Microduino-Joypad_Getting_start]]&lt;br /&gt;
&lt;br /&gt;
*Step 2: Stack [[Microduino-CoreUSB]] on the panel of Microduino-Joypad-Game; &lt;br /&gt;
&lt;br /&gt;
*Step 3: Download libraries and codes needed and then update the libraries to the compiler. 【[[Install Arduino IDE Microduino Program Library Support Package]]】&lt;br /&gt;
&lt;br /&gt;
*Step 4: Compile the code and choose the right board (Microduino-CoreUSB) and COM port for download. &lt;br /&gt;
*Experience:&lt;br /&gt;
**Open the game  &lt;br /&gt;
**Start the switch on the right top and control. &lt;br /&gt;
**Simulate the right joystick as the mouse. &lt;br /&gt;
**The left joystick as the left button of the mouse and the right joystick as the right button. &lt;br /&gt;
*Control the left joystick to catch the bird and the right joystick to move around and shoot. &lt;br /&gt;
==Video==&lt;br /&gt;
http://v.youku.com/v_show/id_XNzM3NTA1NzQw.html&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>1304410487@qq.com</name></author>	</entry>

	</feed>