<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[LED tutorial question or two]]></title><description><![CDATA[<p dir="auto">I'm a complete newbie on the Onion, so please be gentle!</p>
<p dir="auto">I just set up my Onion (in the expansion dock) and thought I'd give it a test drive. I accessed the Console and used the GPIO tool successfully to toggle port pin 0 on and off. Emboldened by my sense of achievement, I decided to try out the LED tutorial at <a href="https://wiki.onion.io/Tutorials/Controlling-RGB-LED" rel="nofollow">https://wiki.onion.io/Tutorials/Controlling-RGB-LED</a> and tried the example</p>
<p dir="auto">expled 0x1133</p>
<p dir="auto">The expansion dock's LED didn't turn the expected pink color, but instead cycled rapidly (maybe every 1/4 second) through various colors. Finally after a minute or so, the color settled on pink.</p>
<p dir="auto">Oddly enough, everything seems to be working fine now. What happened?</p>
]]></description><link>http://community.onion.io/topic/394/led-tutorial-question-or-two</link><generator>RSS for Node</generator><lastBuildDate>Sun, 10 May 2026 11:14:48 GMT</lastBuildDate><atom:link href="http://community.onion.io/topic/394.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 06 Jan 2016 18:09:49 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to LED tutorial question or two on Wed, 06 Jan 2016 18:09:49 GMT]]></title><description><![CDATA[<p dir="auto">I'm a complete newbie on the Onion, so please be gentle!</p>
<p dir="auto">I just set up my Onion (in the expansion dock) and thought I'd give it a test drive. I accessed the Console and used the GPIO tool successfully to toggle port pin 0 on and off. Emboldened by my sense of achievement, I decided to try out the LED tutorial at <a href="https://wiki.onion.io/Tutorials/Controlling-RGB-LED" rel="nofollow">https://wiki.onion.io/Tutorials/Controlling-RGB-LED</a> and tried the example</p>
<p dir="auto">expled 0x1133</p>
<p dir="auto">The expansion dock's LED didn't turn the expected pink color, but instead cycled rapidly (maybe every 1/4 second) through various colors. Finally after a minute or so, the color settled on pink.</p>
<p dir="auto">Oddly enough, everything seems to be working fine now. What happened?</p>
]]></description><link>http://community.onion.io/post/3126</link><guid isPermaLink="true">http://community.onion.io/post/3126</guid><dc:creator><![CDATA[Jeff Verive]]></dc:creator><pubDate>Wed, 06 Jan 2016 18:09:49 GMT</pubDate></item><item><title><![CDATA[Reply to LED tutorial question or two on Wed, 06 Jan 2016 22:15:54 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/949">@Jeff-Verive</a><br />
That's odd...<br />
Was your command <code>expled 0xf21133</code> like in the tutorial or <code>expled 0x1133</code> like from the post?</p>
<p dir="auto">My best guess is that it took some time to kill the existing pwm processes that were previously controlling the LED.<br />
Let us know if the problem persists.</p>
]]></description><link>http://community.onion.io/post/3136</link><guid isPermaLink="true">http://community.onion.io/post/3136</guid><dc:creator><![CDATA[Lazar Demin]]></dc:creator><pubDate>Wed, 06 Jan 2016 22:15:54 GMT</pubDate></item><item><title><![CDATA[Reply to LED tutorial question or two on Wed, 06 Jan 2016 22:44:44 GMT]]></title><description><![CDATA[<p dir="auto">Ok, I think I've figured out the flicking.</p>
<p dir="auto">Since the Expansion Dock LED is controlled by <a href="https://wiki.onion.io/Tutorials/Using-PWM-on-Exp-Dock#software-pwm-vs-hardware-pwm" rel="nofollow">software PWM</a>, the pulse timing cannot be guaranteed when there are processor intensive threads running.</p>
<p dir="auto">I just set my LED to pink and when I ran a large-ish program the LED flickered between colours like crazy.</p>
]]></description><link>http://community.onion.io/post/3146</link><guid isPermaLink="true">http://community.onion.io/post/3146</guid><dc:creator><![CDATA[Lazar Demin]]></dc:creator><pubDate>Wed, 06 Jan 2016 22:44:44 GMT</pubDate></item><item><title><![CDATA[Reply to LED tutorial question or two on Thu, 07 Jan 2016 16:29:01 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for the reply. The device must indeed have been running some processor-intensive stuff, though I don't know what! I have not yet figured out how to run anything yet, and the device was well past boot-up. Since the thing only acted weird that one time, I'll consider it a fluke.</p>
]]></description><link>http://community.onion.io/post/3165</link><guid isPermaLink="true">http://community.onion.io/post/3165</guid><dc:creator><![CDATA[Jeff Verive]]></dc:creator><pubDate>Thu, 07 Jan 2016 16:29:01 GMT</pubDate></item></channel></rss>