<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to raspberry pi3 b+ GPIO problem</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/d5066be724/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Runtime/thread/d5066be724/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Runtime/thread/d5066be724/</id><updated>2020-02-27T16:04:52.668000Z</updated><subtitle>Recent posts to raspberry pi3 b+ GPIO problem</subtitle><entry><title>raspberry pi3 b+ GPIO problem</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/d5066be724/?limit=25#b6c8" rel="alternate"/><published>2020-02-27T16:04:52.668000Z</published><updated>2020-02-27T16:04:52.668000Z</updated><author><name>sarunas</name><uri>https://forge.codesys.com/u/sarunas/</uri></author><id>https://forge.codesys.com6874569ef6cb9f8f27f4affc96fb563c4c4b945b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Edwin Schwellinger hat geschrieben:&lt;/strong&gt;&lt;br/&gt;
Hi,&lt;br/&gt;
just try to revert your project to non device application... then it might work.&lt;br/&gt;
BR&lt;br/&gt;
Edwin&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;thank, now it is working&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>raspberry pi3 b+ GPIO problem</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/d5066be724/?limit=25#c30b" rel="alternate"/><published>2020-02-27T16:04:50.433000Z</published><updated>2020-02-27T16:04:50.433000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.coma3ddc7d8ff2d8da010fa3b6c9ddbf4145322322f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
just try to revert your project to non device application... then it might work.&lt;br/&gt;
BR&lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>raspberry pi3 b+ GPIO problem</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/d5066be724/?limit=25#855e" rel="alternate"/><published>2020-02-27T16:04:49.629000Z</published><updated>2020-02-27T16:04:49.629000Z</updated><author><name>sarunas</name><uri>https://forge.codesys.com/u/sarunas/</uri></author><id>https://forge.codesys.com4bba1ce7eff17e3d6da93d881f98f9d05f75bd8a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;hello,&lt;br/&gt;
I am trying use raspberry pi3 +b board. I make codesys test program. Program send to raspberry board run system running. I connected Led cathode to PIN 6 (GND) and led anode to PIN12 (PGIO18). Then I set PGIO18 TRUE level, but led doesn't shine. I don't know where are my mistake. Maybe could give me advice, how solve this problem. I think problem is with raspberry, but I write python program&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="nn"&gt;RPi.GPIO&lt;/span&gt; &lt;span class="kn"&gt;as&lt;/span&gt; &lt;span class="nn"&gt;GPIO&lt;/span&gt;
&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="nn"&gt;time&lt;/span&gt;
&lt;span class="n"&gt;GPIO&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;setmode&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;GPIO&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;BOARD&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;GPIO&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;setup&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;12&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="n"&gt;GPIO&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;OUT&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;x&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="nb"&gt;range&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;10&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
&lt;span class="err"&gt; &lt;/span&gt; &lt;span class="err"&gt; &lt;/span&gt; &lt;span class="n"&gt;GPIO&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;output&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;12&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="bp"&gt;True&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="err"&gt; &lt;/span&gt; &lt;span class="err"&gt; &lt;/span&gt; &lt;span class="n"&gt;time&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;sleep&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="err"&gt; &lt;/span&gt; &lt;span class="err"&gt; &lt;/span&gt; &lt;span class="n"&gt;GPIO&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;output&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;12&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="bp"&gt;False&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="err"&gt; &lt;/span&gt; &lt;span class="err"&gt; &lt;/span&gt; &lt;span class="n"&gt;time&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;sleep&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;GPIO&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;cleanup&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;Led is blinking. &lt;br/&gt;
GPIOs parameters:&lt;/p&gt;
&lt;p&gt;GPIOs IEC parameters:&lt;/p&gt;
&lt;p&gt;I attached all my test project.&lt;/p&gt;
&lt;p&gt;when program is online&lt;br/&gt;
&lt;a class="" href="https://www.part.lt/img/5a95e7c981c834516a75285d24b4dba8627.jpg" rel="nofollow"&gt;https://www.part.lt/img/5a95e7c981c8345 ... ba8627.jpg&lt;/a&gt; m &lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: Bild" rel="nofollow" src="https://www.part.lt/img/b5cfadee152da3043a484675c0257577190.jpg"/&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: Bild" rel="nofollow" src="https://www.part.lt/img/dcd7c5e04d5eabe80101b111f9ed7426945.jpg"/&gt;&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="https://forum.codesys.com//download/file.php?id=4035" rel="nofollow"&gt;testss.project &lt;span&gt;&lt;span&gt;[167.92 KiB]&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>