<?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[Small bug in oled-exp]]></title><description><![CDATA[<p dir="auto">To Omega people:</p>
<p dir="auto">There is a small bug in the current oled-exp code.</p>
<p dir="auto">When one runs the command:</p>
<ul>
<li><strong>oled-exp -c write abcd</strong></li>
</ul>
<p dir="auto">The command runs as expected but one gets the output:</p>
<ul>
<li><strong>&gt; Clearing display</strong><br />
<strong>&gt; Writing 'abcd' to display</strong><br />
<strong>&gt; Unrecognized command 'write'</strong></li>
</ul>
<p dir="auto">I believe the problem is that in <strong>main-oled-exp.c</strong>, the lines:</p>
<ul>
<li><strong>if (strcmp(command, "write") == 0 ) {	<br />
status	= oledWrite(param);<br />
}<br />
if (strcmp(command, "writeByte") == 0 ) {	<br />
// parse the byte</strong></li>
</ul>
<p dir="auto">should read:</p>
<ul>
<li><strong>if (strcmp(command, "write") == 0 ) {	<br />
status	= oledWrite(param);<br />
} else if (strcmp(command, "writeByte") == 0 ) {	<br />
// parse the byte</strong></li>
</ul>
]]></description><link>http://community.onion.io/topic/596/small-bug-in-oled-exp</link><generator>RSS for Node</generator><lastBuildDate>Wed, 13 May 2026 22:36:11 GMT</lastBuildDate><atom:link href="http://community.onion.io/topic/596.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 05 Mar 2016 02:35:16 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Small bug in oled-exp on Sat, 05 Mar 2016 02:35:16 GMT]]></title><description><![CDATA[<p dir="auto">To Omega people:</p>
<p dir="auto">There is a small bug in the current oled-exp code.</p>
<p dir="auto">When one runs the command:</p>
<ul>
<li><strong>oled-exp -c write abcd</strong></li>
</ul>
<p dir="auto">The command runs as expected but one gets the output:</p>
<ul>
<li><strong>&gt; Clearing display</strong><br />
<strong>&gt; Writing 'abcd' to display</strong><br />
<strong>&gt; Unrecognized command 'write'</strong></li>
</ul>
<p dir="auto">I believe the problem is that in <strong>main-oled-exp.c</strong>, the lines:</p>
<ul>
<li><strong>if (strcmp(command, "write") == 0 ) {	<br />
status	= oledWrite(param);<br />
}<br />
if (strcmp(command, "writeByte") == 0 ) {	<br />
// parse the byte</strong></li>
</ul>
<p dir="auto">should read:</p>
<ul>
<li><strong>if (strcmp(command, "write") == 0 ) {	<br />
status	= oledWrite(param);<br />
} else if (strcmp(command, "writeByte") == 0 ) {	<br />
// parse the byte</strong></li>
</ul>
]]></description><link>http://community.onion.io/post/4410</link><guid isPermaLink="true">http://community.onion.io/post/4410</guid><dc:creator><![CDATA[Kit Bishop]]></dc:creator><pubDate>Sat, 05 Mar 2016 02:35:16 GMT</pubDate></item><item><title><![CDATA[Reply to Small bug in oled-exp on Sat, 05 Mar 2016 20:46:24 GMT]]></title><description><![CDATA[<p dir="auto">good eye!<br />
it's fixed, i'll post an update when the fix makes it to a firmware build.</p>
]]></description><link>http://community.onion.io/post/4419</link><guid isPermaLink="true">http://community.onion.io/post/4419</guid><dc:creator><![CDATA[Lazar Demin]]></dc:creator><pubDate>Sat, 05 Mar 2016 20:46:24 GMT</pubDate></item></channel></rss>