<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://lms.onnocenter.or.id/wiki/index.php?action=history&amp;feed=atom&amp;title=Arduino%3A_Physical_Pixel</id>
	<title>Arduino: Physical Pixel - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://lms.onnocenter.or.id/wiki/index.php?action=history&amp;feed=atom&amp;title=Arduino%3A_Physical_Pixel"/>
	<link rel="alternate" type="text/html" href="https://lms.onnocenter.or.id/wiki/index.php?title=Arduino:_Physical_Pixel&amp;action=history"/>
	<updated>2026-04-20T15:29:01Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://lms.onnocenter.or.id/wiki/index.php?title=Arduino:_Physical_Pixel&amp;diff=45285&amp;oldid=prev</id>
		<title>Onnowpurbo: New page: Sumber: https://www.arduino.cc/en/Tutorial/PhysicalPixel  This example example uses the Arduino or Genuino board to receive data from the computer. The board turns on an LED when it receiv...</title>
		<link rel="alternate" type="text/html" href="https://lms.onnocenter.or.id/wiki/index.php?title=Arduino:_Physical_Pixel&amp;diff=45285&amp;oldid=prev"/>
		<updated>2015-12-09T11:35:39Z</updated>

		<summary type="html">&lt;p&gt;New page: Sumber: https://www.arduino.cc/en/Tutorial/PhysicalPixel  This example example uses the Arduino or Genuino board to receive data from the computer. The board turns on an LED when it receiv...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Sumber: https://www.arduino.cc/en/Tutorial/PhysicalPixel&lt;br /&gt;
&lt;br /&gt;
This example example uses the Arduino or Genuino board to receive data from the computer. The board turns on an LED when it receives the character &amp;#039;H&amp;#039;, and turns off the LED when it receives the character &amp;#039;L&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
The data can be sent from the Arduino Software (IDE) serial monitor, or another program like Processing (see code below), Flash (via a serial-net proxy), PD, or Max/MSP. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Hardware==&lt;br /&gt;
&lt;br /&gt;
* Arduino or Genuino Board&lt;br /&gt;
* LED (optional)&lt;br /&gt;
* 220 ohm resistor (optional) &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Code==&lt;br /&gt;
&lt;br /&gt;
 /*&lt;br /&gt;
   Physical Pixel&lt;br /&gt;
 &lt;br /&gt;
  An example of using the Arduino board to receive data from the&lt;br /&gt;
  computer.  In this case, the Arduino boards turns on an LED when&lt;br /&gt;
  it receives the character &amp;#039;H&amp;#039;, and turns off the LED when it&lt;br /&gt;
  receives the character &amp;#039;L&amp;#039;.&lt;br /&gt;
 &lt;br /&gt;
  The data can be sent from the Arduino serial monitor, or another&lt;br /&gt;
  program like Processing (see code below), Flash (via a serial-net&lt;br /&gt;
  proxy), PD, or Max/MSP.&lt;br /&gt;
 &lt;br /&gt;
  The circuit:&lt;br /&gt;
  * LED connected from digital pin 13 to ground &lt;br /&gt;
 &lt;br /&gt;
  created 2006&lt;br /&gt;
  by David A. Mellis&lt;br /&gt;
  modified 30 Aug 2011&lt;br /&gt;
  by Tom Igoe and Scott Fitzgerald&lt;br /&gt;
 &lt;br /&gt;
  This example code is in the public domain. &lt;br /&gt;
 &lt;br /&gt;
  http://www.arduino.cc/en/Tutorial/PhysicalPixel&lt;br /&gt;
  */&lt;br /&gt;
 &lt;br /&gt;
 const int ledPin = 13; // the pin that the LED is attached to&lt;br /&gt;
 int incomingByte;      // a variable to read incoming serial data into&lt;br /&gt;
 &lt;br /&gt;
 void setup() {&lt;br /&gt;
   // initialize serial communication:&lt;br /&gt;
   Serial.begin(9600);&lt;br /&gt;
   // initialize the LED pin as an output:&lt;br /&gt;
   pinMode(ledPin, OUTPUT);&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 void loop() {&lt;br /&gt;
   // see if there&amp;#039;s incoming serial data:&lt;br /&gt;
   if (Serial.available() &amp;gt; 0) {&lt;br /&gt;
     // read the oldest byte in the serial buffer:&lt;br /&gt;
     incomingByte = Serial.read();&lt;br /&gt;
     // if it&amp;#039;s a capital H (ASCII 72), turn on the LED:&lt;br /&gt;
     if (incomingByte == &amp;#039;H&amp;#039;) {&lt;br /&gt;
       digitalWrite(ledPin, HIGH);&lt;br /&gt;
     }&lt;br /&gt;
     // if it&amp;#039;s an L (ASCII 76) turn off the LED:&lt;br /&gt;
     if (incomingByte == &amp;#039;L&amp;#039;) {&lt;br /&gt;
       digitalWrite(ledPin, LOW);&lt;br /&gt;
     }&lt;br /&gt;
   }&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Referensi==&lt;br /&gt;
&lt;br /&gt;
* https://www.arduino.cc/en/Tutorial/PhysicalPixel&lt;/div&gt;</summary>
		<author><name>Onnowpurbo</name></author>
	</entry>
</feed>