<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>DMX diagnostics tool - running out of time</title><link>/challenges-projects/project14/nano-rama/b/blog/posts/dmx-diagnostics-tool---running-out-of-time</link><description>This has been a fun and crazy ride. Unfortunately time is ticking away faster than progress is being made on this project. So, I thought that I should wrap this one up.
 
Here are a list of the previous posts:
 DMX diagnostic tool - ...</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: DMX diagnostics tool - running out of time</title><link>https://community.element14.com/challenges-projects/project14/nano-rama/b/blog/posts/dmx-diagnostics-tool---running-out-of-time</link><pubDate>Fri, 05 Jun 2020 08:49:08 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:a6d6b7fa-732b-40ff-b052-c7113e3841ac</guid><dc:creator>Andrew J</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;This has been some great work Gene.&amp;nbsp; &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Apologies if you know the following already, but two things you could do with the strings is &lt;/p&gt;&lt;ol&gt;&lt;li&gt;Store them in the Nano&amp;#39;s EEPROM rather than memory and read them out when needed (data in the EEPROM is indexed in line with your idea of indexing them in an array) - depends on the speed of operation required whether this would be useful or not; and/or &lt;/li&gt;&lt;li&gt;Use char arrays instead of String (or String arrays) which uses less memory and helps prevent heap fragmentation.&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;A little while ago, I tried to see what the compile difference between #defines and CONST and couldn&amp;#39;t find any, at least not in terms of memory consumption.&amp;nbsp; I actually spent some time jotting down compile sizes, making changes, recompiling and checking sizes again in order to try and get memory consumption down.&amp;nbsp; Char arrays made a big difference; being strict with other types also made a big difference (i.e. don&amp;#39;t use an Int type when a uint_8 would do.)&amp;nbsp; Rationalising functions helped as well, even if it required a bit of shonky code to do it which you would normally make you throw up if you saw it, e.g. passing in a flag to the function and using if-then-else to drive the bit of code in the function was executed.&amp;nbsp; &lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=9334&amp;AppID=256&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: DMX diagnostics tool - running out of time</title><link>https://community.element14.com/challenges-projects/project14/nano-rama/b/blog/posts/dmx-diagnostics-tool---running-out-of-time</link><pubDate>Thu, 04 Jun 2020 19:13:54 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:a6d6b7fa-732b-40ff-b052-c7113e3841ac</guid><dc:creator>davedarko</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;No matter all the other achievements, I applaud you for how you designed the display cutout for the case. I get angry at designs that let the metal case of the LCD show &lt;span&gt;[View:/resized-image/__size/16x16/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-a6d6b7fa-732b-40ff-b052-c7113e3841ac/contentimage_5F00_2516.png:16:16]&lt;/span&gt;&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=9334&amp;AppID=256&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: DMX diagnostics tool - running out of time</title><link>https://community.element14.com/challenges-projects/project14/nano-rama/b/blog/posts/dmx-diagnostics-tool---running-out-of-time</link><pubDate>Fri, 15 May 2020 19:41:53 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:a6d6b7fa-732b-40ff-b052-c7113e3841ac</guid><dc:creator>three-phase</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;This is a nice update, you have achieved a lot over the course of this project.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Kind regards&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=9334&amp;AppID=256&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>