<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>https://wiki.computech.dev/w/index.php?action=history&amp;feed=atom&amp;title=Relais_Module_5V</id>
	<title>Relais Module 5V - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.computech.dev/w/index.php?action=history&amp;feed=atom&amp;title=Relais_Module_5V"/>
	<link rel="alternate" type="text/html" href="https://wiki.computech.dev/w/index.php?title=Relais_Module_5V&amp;action=history"/>
	<updated>2026-11-24T12:24:51Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in Computech CMS Wiki</subtitle>
	<generator>MediaWiki 1.46.2</generator>
	<entry>
		<id>https://wiki.computech.dev/w/index.php?title=Relais_Module_5V&amp;diff=1492&amp;oldid=prev</id>
		<title>Simon Zeberli: Die Seite wurde neu angelegt: „-&gt; 5V (Reihe 2, Pos 1), GND (Reihe 2, Pos 3) =&gt; aus Sicht des Stromanschluss -&gt; GPIO 04 (Reihe 1, Pos 4)  &lt;syntaxhighlight lang=&quot;python&quot; line start=&quot;1&quot; highlig…“</title>
		<link rel="alternate" type="text/html" href="https://wiki.computech.dev/w/index.php?title=Relais_Module_5V&amp;diff=1492&amp;oldid=prev"/>
		<updated>2014-09-14T08:23:34Z</updated>

		<summary type="html">&lt;p&gt;Die Seite wurde neu angelegt: „-&amp;gt; 5V (Reihe 2, Pos 1), GND (Reihe 2, Pos 3) =&amp;gt; aus Sicht des Stromanschluss -&amp;gt; GPIO 04 (Reihe 1, Pos 4)  &amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot; line start=&amp;quot;1&amp;quot; highlig…“&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;-&amp;gt; 5V (Reihe 2, Pos 1), GND (Reihe 2, Pos 3) =&amp;gt; aus Sicht des Stromanschluss&lt;br /&gt;
-&amp;gt; GPIO 04 (Reihe 1, Pos 4)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot; line start=&amp;quot;1&amp;quot; highlight=&amp;quot;5&amp;quot; enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
import time&lt;br /&gt;
import RPi.GPIO as GPIO&lt;br /&gt;
&lt;br /&gt;
GPIO.setwarnings(False)&lt;br /&gt;
GPIO.setmode(GPIO.BCM)&lt;br /&gt;
GPIO.setup(4, GPIO.OUT)&lt;br /&gt;
&lt;br /&gt;
state = 1&lt;br /&gt;
&lt;br /&gt;
while 1:&lt;br /&gt;
&lt;br /&gt;
   if state:&lt;br /&gt;
        print &amp;quot;Set to High - Strom aus&amp;quot;&lt;br /&gt;
        GPIO.output(4, True)&lt;br /&gt;
        state = 0&lt;br /&gt;
   else:&lt;br /&gt;
        print &amp;quot;Set to Low - Strom an&amp;quot;&lt;br /&gt;
        GPIO.output(4, False)&lt;br /&gt;
        state = 1&lt;br /&gt;
&lt;br /&gt;
   time.sleep(5)&lt;br /&gt;
&lt;br /&gt;
print &amp;#039;GPIO-Skript Ende&amp;#039;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Simon Zeberli</name></author>
	</entry>
</feed>