<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
		<id>http://www.dl8rds.de/index.php?action=history&amp;feed=atom&amp;title=Controlling_the_Arduino_over_the_serial_connection</id>
		<title>Controlling the Arduino over the serial connection - Versionsgeschichte</title>
		<link rel="self" type="application/atom+xml" href="http://www.dl8rds.de/index.php?action=history&amp;feed=atom&amp;title=Controlling_the_Arduino_over_the_serial_connection"/>
		<link rel="alternate" type="text/html" href="http://www.dl8rds.de/index.php?title=Controlling_the_Arduino_over_the_serial_connection&amp;action=history"/>
		<updated>2026-04-22T04:39:29Z</updated>
		<subtitle>Versionsgeschichte dieser Seite in DL8RDS Wiki</subtitle>
		<generator>MediaWiki 1.28.0</generator>

	<entry>
		<id>http://www.dl8rds.de/index.php?title=Controlling_the_Arduino_over_the_serial_connection&amp;diff=1413&amp;oldid=prev</id>
		<title>Dl8rds: New page:  2009-09-19 The following program is there to demostrate how I can talk to the Arduino over the serial interface: After sending a character &quot;B&quot;, the blinking goes off, and after sending a ...</title>
		<link rel="alternate" type="text/html" href="http://www.dl8rds.de/index.php?title=Controlling_the_Arduino_over_the_serial_connection&amp;diff=1413&amp;oldid=prev"/>
				<updated>2009-11-07T00:08:18Z</updated>
		
		<summary type="html">&lt;p&gt;New page:  2009-09-19 The following program is there to demostrate how I can talk to the Arduino over the serial interface: After sending a character &amp;quot;B&amp;quot;, the blinking goes off, and after sending a ...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
2009-09-19 The following program is there to demostrate how I can talk to the Arduino over the serial interface: After sending a character &amp;quot;B&amp;quot;, the blinking goes off, and after sending a &amp;quot;A&amp;quot;, it will start again:&lt;br /&gt;
&lt;br /&gt;
 int potiPin = 0;&lt;br /&gt;
 int potiVal = 0;&lt;br /&gt;
 int blink = 1;&lt;br /&gt;
 int ledPin = 2;&lt;br /&gt;
 &lt;br /&gt;
 void setup() {&lt;br /&gt;
   Serial.begin(9600);&lt;br /&gt;
   int potiPin = 0;&lt;br /&gt;
   pinMode(ledPin, OUTPUT);&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 void loop() {&lt;br /&gt;
   int potiVal = analogRead(potiPin);&lt;br /&gt;
   //Serial.println(&amp;quot;Poti-Wert:&amp;quot;);&lt;br /&gt;
   if (Serial.available() &amp;gt; 0) {&lt;br /&gt;
      char b = Serial.read();&lt;br /&gt;
      if (b == 65) {&lt;br /&gt;
         blink = 1;&lt;br /&gt;
      }&lt;br /&gt;
      if (b == 66) {&lt;br /&gt;
         blink = 0;&lt;br /&gt;
      }&lt;br /&gt;
   }&lt;br /&gt;
 &lt;br /&gt;
   if (blink == 1) {&lt;br /&gt;
      digitalWrite(ledPin, HIGH);&lt;br /&gt;
      delay(100);&lt;br /&gt;
      digitalWrite(ledPin,LOW);&lt;br /&gt;
      delay(potiVal*2);&lt;br /&gt;
   } else {&lt;br /&gt;
      digitalWrite(ledPin, LOW);&lt;br /&gt;
   }&lt;br /&gt;
 &lt;br /&gt;
   Serial.println(potiVal);&lt;br /&gt;
   //Serial.println(&amp;quot;-------------&amp;quot;);&lt;br /&gt;
   delay(10);&lt;br /&gt;
 }&lt;/div&gt;</summary>
		<author><name>Dl8rds</name></author>	</entry>

	</feed>