<?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=Setup_Processing_IDE</id>
		<title>Setup Processing IDE - 版本历史</title>
		<link rel="self" type="application/atom+xml" href="http:///https//wiki.microduino.cn/index.php?action=history&amp;feed=atom&amp;title=Setup_Processing_IDE"/>
		<link rel="alternate" type="text/html" href="https//wiki.microduino.cn/index.php?title=Setup_Processing_IDE&amp;action=history"/>
		<updated>2026-04-30T00:03:43Z</updated>
		<subtitle>本wiki的该页面的版本历史</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https//wiki.microduino.cn/index.php?title=Setup_Processing_IDE&amp;diff=2688&amp;oldid=prev</id>
		<title>Pkj：Created page with &quot;{{Language | 搭建Processing开发环境}} {| style=&quot;width: 800px;&quot; |- | ==Objective== This turorial will teach you how to set up the Processing IDE, and connects to Microdui...&quot;</title>
		<link rel="alternate" type="text/html" href="https//wiki.microduino.cn/index.php?title=Setup_Processing_IDE&amp;diff=2688&amp;oldid=prev"/>
				<updated>2014-05-13T12:54:54Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Language | 搭建Processing开发环境}} {| style=&amp;quot;width: 800px;&amp;quot; |- | ==Objective== This turorial will teach you how to set up the Processing IDE, and connects to Microdui...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Language | 搭建Processing开发环境}}&lt;br /&gt;
{| style=&amp;quot;width: 800px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
==Objective==&lt;br /&gt;
This turorial will teach you how to set up the Processing IDE, and connects to Microduino to show processing's powerful graphics and interaction function.&lt;br /&gt;
&lt;br /&gt;
==Equipment==&lt;br /&gt;
*'''[[Microduino-Core]]'''&lt;br /&gt;
*'''[[Microduino-FT232R]]'''&lt;br /&gt;
&lt;br /&gt;
*Other equipment&lt;br /&gt;
**USB cable           one  &lt;br /&gt;
**LED                 one&lt;br /&gt;
**330Ω resistor       one&lt;br /&gt;
**Bread               one&lt;br /&gt;
**Breadboard Jumper   onebox&lt;br /&gt;
&lt;br /&gt;
==Processing==&lt;br /&gt;
Processing is an open source programming language and integrated development environment (IDE) built for the electronic arts, new media art, and visual design communities with the purpose of teaching the fundamentals of computer programming in a visual context, and to serve as the foundation for electronic sketchbooks. The project was initiated in 2001 by Casey Reas and Benjamin Fry, both formerly of the Aesthetics and Computation Group at the MIT Media Lab. One of the stated aims of Processing is to act as a tool to get non-programmers started with programming, through the instant gratification of visual feedback. The language builds on the Java language, but uses a simplified syntax and graphics programming model.&lt;br /&gt;
Official webpage：http://www.processing.org&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Schematic==&lt;br /&gt;
&lt;br /&gt;
[[File:processingControlLED原理图.jpg|600px|center|thumb]]&lt;br /&gt;
&lt;br /&gt;
==Program==&lt;br /&gt;
&lt;br /&gt;
https://github.com/Microduino/Microduino_Tutorials/tree/master/Microduino_Processing/setupProcessingDevEnv&lt;br /&gt;
&lt;br /&gt;
==Debug==&lt;br /&gt;
Before setup the Processing development enviroment, you need install JAVA JDK firstly. You can download the JDK package from orical webpage.&lt;br /&gt;
&lt;br /&gt;
Step 1：Download Processing from official webpage. Put the folder to anywhere you want.&lt;br /&gt;
https://www.processing.org/download/&lt;br /&gt;
&lt;br /&gt;
Open the folder you can see following contents:&lt;br /&gt;
[[File:processingFlode.jpg|600px|center|thumb]]&lt;br /&gt;
&lt;br /&gt;
Download the Processing's Arduino library which used to communicate with Arduino. Open the link &amp;quot;http://playground.arduino.cc/Interfacing/Processing&amp;quot;, you can see following prompt:&lt;br /&gt;
[[File:downArduinoLib.jpg|600px|center|thumb]]&lt;br /&gt;
Click download, and uncompress the Arduino folder, then copy to modes\java\libraries folder of Processing, restart Processing IDE. &lt;br /&gt;
&lt;br /&gt;
Click the processing.exe to open the Processing window, as follows:&lt;br /&gt;
[[File:processingDEV.jpg|600px|center|thumb]]&lt;br /&gt;
It is very similar with Arduino IDE.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Step 2:&lt;br /&gt;
If you want to set up the connection between Processing and Microduino, need choose serial and Arduino(Firmata) function in Sketch--&amp;gt;Import Library. After selected, they are added in IDE automatically, just like the yellow part in following picture.&lt;br /&gt;
&lt;br /&gt;
[[File:processingImport.jpg|600px|center|thumb]]&lt;br /&gt;
Serial used to monitor serial data.&lt;br /&gt;
&lt;br /&gt;
Arduino(Firmata) uses to control Microduino.&lt;br /&gt;
&lt;br /&gt;
Open the Arduino IDE, download the &amp;quot;Examples &amp;gt; Firmata &amp;gt; StandardFirmata sketch&amp;quot; program to the Microduino core, as follows:&lt;br /&gt;
[[File:Firmata.jpg|600px|center|thumb]]&lt;br /&gt;
Select the Microduino core module, then download directly, then Processing can communicate with Microduino.&lt;br /&gt;
&lt;br /&gt;
Step 3：Explain the code:&lt;br /&gt;
&lt;br /&gt;
//default define first com port&lt;br /&gt;
arduino = new Arduino(this, Arduino.list()[0], 57600);&lt;br /&gt;
//set LED pin is output&lt;br /&gt;
arduino.pinMode(ledPin, Arduino.OUTPUT);&lt;br /&gt;
&lt;br /&gt;
//digitalWrite hight to ledpin&lt;br /&gt;
arduino.digitalWrite(ledPin, Arduino.HIGH);&lt;br /&gt;
&lt;br /&gt;
Set the baud rate to 57600. You need set the same baud rate in Processig and Microduino.&lt;br /&gt;
&lt;br /&gt;
Step 4: Set up hardware system, as follows:&lt;br /&gt;
[[File:processingControlLED连接图.jpg|600px|center|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Step 5：Compile the program and download it.&lt;br /&gt;
&lt;br /&gt;
==Result==&lt;br /&gt;
The light will flash with 1s time interval, just like use the Arduino to control.&lt;br /&gt;
&lt;br /&gt;
==Video==&lt;br /&gt;
&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Pkj</name></author>	</entry>

	</feed>