<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   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/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   >
<channel>
    <title>Steve's personal blog</title>
    <link>http://www.analysisuk.com/blog/</link>
    <description>A blog about what's going on in Analysis UK...</description>
    <dc:language>en</dc:language>
    <generator>Serendipity 1.0 - http://www.s9y.org/</generator>
    <pubDate>Sun, 06 Jul 2008 23:38:36 GMT</pubDate>

    <image>
        <url>http://www.analysisuk.com/blog/templates/default/img/s9y_banner_small.png</url>
        <title>RSS: Steve's personal blog - A blog about what's going on in Analysis UK...</title>
        <link>http://www.analysisuk.com/blog/</link>
        <width>100</width>
        <height>21</height>
    </image>

<item>
    <title>Build Indicator  Part 2 (The firmware)</title>
    <link>http://www.analysisuk.com/blog/archives/40-Build-Indicator-Part-2-The-firmware.html</link>
            <category>General</category>
    
    <comments>http://www.analysisuk.com/blog/archives/40-Build-Indicator-Part-2-The-firmware.html#comments</comments>
    <wfw:comment>http://www.analysisuk.com/blog/wfwcomment.php?cid=40</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.analysisuk.com/blog/rss.php?version=2.0&amp;type=comments&amp;cid=40</wfw:commentRss>
    

    <author>nospam@example.com (Stephen Harrison)</author>
    <content:encoded>
    This is part 2 of the Build Indicator series.  &lt;a href=&quot;http://www.analysisuk.com/blog/exit.php?url_id=193&amp;amp;entry_id=40&quot; title=&quot;http://www.analysisuk.com/blog/archives/39-Build-Indicators-revisited.html&quot;  onmouseover=&quot;window.status=&#039;http://www.analysisuk.com/blog/archives/39-Build-Indicators-revisited.html&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;Part 1  the construction of the hardware is here&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
The firmware is written using the Arduinos own &lt;a href=&quot;http://www.analysisuk.com/blog/exit.php?url_id=194&amp;amp;entry_id=40&quot; title=&quot;http://www.arduino.cc/en/Main/Software&quot;  onmouseover=&quot;window.status=&#039;http://www.arduino.cc/en/Main/Software&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;programming language&lt;/a&gt; which  is much like C/C++, using the IDE provided its easy to develop the code and push it down to the Arduino.&lt;br /&gt;
&lt;br /&gt;
I decided that as the Arduino has 13 IO pins it would be a shame not to make these available for 6 build indicators so 6 individual projects could be monitored.  Ive not used OO to implement the code so its a little messy with individual arrays for project status, red and green led pins which are indexed based on the project number.  I think you can create classes but this has to be done in external C++ files so for a simple application like this I didnt worry to add that extra complexity.&lt;br /&gt;
&lt;br /&gt;
Serial (RS232) communications is used to send a status message down to the Arduino build indicator to update the project status.&lt;br /&gt;
&lt;br /&gt;
The full Arduino &lt;a href=&quot;http://www.analysisuk.com/blog/exit.php?url_id=196&amp;amp;entry_id=40&quot; title=&quot;http://www.AnalysisUK.com/Download/BuildIndicator.zip&quot;  onmouseover=&quot;window.status=&#039;http://www.AnalysisUK.com/Download/BuildIndicator.zip&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;build indicator code can be download here&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
License :  Please use, copy and modify this code as you wish, all I ask is that you dont take credit for the bits I wrote.  You should ensure its fit for purpose before using it.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Variable declaration&lt;/strong&gt; :&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;font-family: Courier New; font-size: 10pt; color: black; background: white;&quot;&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;1&lt;/span&gt;&amp;#160;&lt;span style=&quot;color: green;&quot;&gt;/*&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;2&lt;/span&gt;&amp;#160;&lt;span style=&quot;color: green;&quot;&gt;&amp;#160;&lt;strong&gt; Build Indicator (c) Analysis UK Ltd 2008&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;3&lt;/span&gt;&amp;#160;&lt;span style=&quot;color: green;&quot;&gt;&amp;#160;*&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;4&lt;/span&gt;&amp;#160;&lt;span style=&quot;color: green;&quot;&gt;&amp;#160;&lt;/strong&gt; Digital Pin Assignments:&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;5&lt;/span&gt;&amp;#160;&lt;span style=&quot;color: green;&quot;&gt;&amp;#160;&lt;strong&gt; 0 - RX&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;6&lt;/span&gt;&amp;#160;&lt;span style=&quot;color: green;&quot;&gt;&amp;#160;&lt;/strong&gt; 1 - TX&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;7&lt;/span&gt;&amp;#160;&lt;span style=&quot;color: green;&quot;&gt;&amp;#160;&lt;strong&gt; 2 - Project 6 - Green LED&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;8&lt;/span&gt;&amp;#160;&lt;span style=&quot;color: green;&quot;&gt;&amp;#160;&lt;/strong&gt; 3 - Project 6 - Red LED&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;9&lt;/span&gt;&amp;#160;&lt;span style=&quot;color: green;&quot;&gt;&amp;#160;&lt;strong&gt; 4 - Project 5 - Green LED&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;&amp;#160;10&lt;/span&gt;&amp;#160;&lt;span style=&quot;color: green;&quot;&gt;&amp;#160;&lt;/strong&gt; 5 - Project 5 - Red LED&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;&amp;#160;11&lt;/span&gt;&amp;#160;&lt;span style=&quot;color: green;&quot;&gt;&amp;#160;&lt;strong&gt; 6 - Project 4 - Green LED&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;&amp;#160;12&lt;/span&gt;&amp;#160;&lt;span style=&quot;color: green;&quot;&gt;&amp;#160;&lt;/strong&gt; 7 - Project 4 - Red LED&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;&amp;#160;13&lt;/span&gt;&amp;#160;&lt;span style=&quot;color: green;&quot;&gt;&amp;#160;&lt;strong&gt; 8 - Project 3 - Green LED&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;&amp;#160;14&lt;/span&gt;&amp;#160;&lt;span style=&quot;color: green;&quot;&gt;&amp;#160;&lt;/strong&gt; 9 - Project 3 - Red LED&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;&amp;#160;15&lt;/span&gt;&amp;#160;&lt;span style=&quot;color: green;&quot;&gt;&amp;#160;&lt;strong&gt; 10 - Project 2 - Green LED&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;&amp;#160;16&lt;/span&gt;&amp;#160;&lt;span style=&quot;color: green;&quot;&gt;&amp;#160;&lt;/strong&gt; 11 - Project 2 - Red LED&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;&amp;#160;17&lt;/span&gt;&amp;#160;&lt;span style=&quot;color: green;&quot;&gt;&amp;#160;&lt;strong&gt; 12 - Project 1 - Green LED&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;&amp;#160;18&lt;/span&gt;&amp;#160;&lt;span style=&quot;color: green;&quot;&gt;&amp;#160;&lt;/strong&gt; 13 - Project 1 - Red LED&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;&amp;#160;19&lt;/span&gt;&amp;#160;&lt;span style=&quot;color: green;&quot;&gt;&amp;#160;*/&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;&amp;#160;20&lt;/span&gt;&amp;#160;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;&amp;#160;21&lt;/span&gt;&amp;#160;&lt;span style=&quot;color: blue;&quot;&gt;#define&lt;/span&gt; VERSION &quot;1.0&quot;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;&amp;#160;22&lt;/span&gt;&amp;#160;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;&amp;#160;23&lt;/span&gt;&amp;#160;&lt;span style=&quot;color: green;&quot;&gt;// Project not enabled of not connected.&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;&amp;#160;24&lt;/span&gt;&amp;#160;&lt;span style=&quot;color: blue;&quot;&gt;int&lt;/span&gt; PROJECT_OFF = 0;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;&amp;#160;25&lt;/span&gt;&amp;#160;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;&amp;#160;26&lt;/span&gt;&amp;#160;&lt;span style=&quot;color: green;&quot;&gt;// Project build failed&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;&amp;#160;27&lt;/span&gt;&amp;#160;&lt;span style=&quot;color: blue;&quot;&gt;int&lt;/span&gt; PROJECT_FAIL = 1; &lt;span style=&quot;color: green;&quot;&gt;// 001&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;&amp;#160;28&lt;/span&gt;&amp;#160;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;&amp;#160;29&lt;/span&gt;&amp;#160;&lt;span style=&quot;color: green;&quot;&gt;// Project build good&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;&amp;#160;30&lt;/span&gt;&amp;#160;&lt;span style=&quot;color: blue;&quot;&gt;int&lt;/span&gt; PROJECT_GOOD = 2; &lt;span style=&quot;color: green;&quot;&gt;// 010&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;&amp;#160;31&lt;/span&gt;&amp;#160;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;&amp;#160;32&lt;/span&gt;&amp;#160;&lt;span style=&quot;color: green;&quot;&gt;// project building from a failed project.&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;&amp;#160;33&lt;/span&gt;&amp;#160;&lt;span style=&quot;color: blue;&quot;&gt;int&lt;/span&gt; PROJECT_BUILDING_FAIL = 5; &lt;span style=&quot;color: green;&quot;&gt;// 101&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;&amp;#160;34&lt;/span&gt;&amp;#160;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;&amp;#160;35&lt;/span&gt;&amp;#160;&lt;span style=&quot;color: green;&quot;&gt;// project building from a good build.&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;&amp;#160;36&lt;/span&gt;&amp;#160;&lt;span style=&quot;color: blue;&quot;&gt;int&lt;/span&gt; PROJECT_BUILDING_GOOD = 6; &lt;span style=&quot;color: green;&quot;&gt;// 110&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;&amp;#160;37&lt;/span&gt;&amp;#160;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;&amp;#160;38&lt;/span&gt;&amp;#160;&lt;span style=&quot;color: green;&quot;&gt;// Maximum number of projects.&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;&amp;#160;39&lt;/span&gt;&amp;#160;&lt;span style=&quot;color: blue;&quot;&gt;int&lt;/span&gt; maxProjects = 6;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;&amp;#160;40&lt;/span&gt;&amp;#160;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;&amp;#160;41&lt;/span&gt;&amp;#160;&lt;span style=&quot;color: green;&quot;&gt;// Project status codes.&amp;#160; Indexed by project.&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;&amp;#160;42&lt;/span&gt;&amp;#160;&lt;span style=&quot;color: blue;&quot;&gt;int&lt;/span&gt; projectStatus[] = {&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;&amp;#160;43&lt;/span&gt;&amp;#160;&amp;#160; 0, 0, 0, 0, 0, 0};&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;&amp;#160;44&lt;/span&gt;&amp;#160;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;&amp;#160;45&lt;/span&gt;&amp;#160;&lt;span style=&quot;color: green;&quot;&gt;// Pins for the Red LEDs.&amp;#160; Indexed by project.&amp;#160; &lt;/span&gt;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;&amp;#160;46&lt;/span&gt;&amp;#160;&lt;span style=&quot;color: blue;&quot;&gt;int&lt;/span&gt; redLEDPin[] = {&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;&amp;#160;47&lt;/span&gt;&amp;#160;&amp;#160; 13, 11, 9, 7, 5, 3};&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;&amp;#160;48&lt;/span&gt;&amp;#160;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;&amp;#160;49&lt;/span&gt;&amp;#160;&lt;span style=&quot;color: green;&quot;&gt;// Pins for the Green LEDs.&amp;#160; Indexed by project.&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;&amp;#160;50&lt;/span&gt;&amp;#160;&lt;span style=&quot;color: blue;&quot;&gt;int&lt;/span&gt; greenLEDPin[] = {&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;&amp;#160;51&lt;/span&gt;&amp;#160;&amp;#160; 12, 10, 8, 6, 4, 2}; &lt;span style=&quot;color: green;&quot;&gt;// pins 0 and 1 reserverd for RS232.&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;
&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The arrays redLEDPin and greenLEDPin represent the pins to use for the red/green leds and are indexed on the project number (i.e. project 0&#039;s red led is on pin 13).  The array projectStatus holds the status of the project and again is indexed by the project number.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Setup&lt;/strong&gt;:&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;font-family: Courier New; font-size: 10pt; color: black; background: white;&quot;&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;&amp;#160;54&lt;/span&gt;&amp;#160;&lt;span style=&quot;color: green;&quot;&gt;// run once, when the sketch starts&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;&amp;#160;55&lt;/span&gt;&amp;#160;&lt;span style=&quot;color: blue;&quot;&gt;void&lt;/span&gt; setup()&amp;#160;&amp;#160;&amp;#160; &amp;#160;&amp;#160;&amp;#160; &amp;#160;&amp;#160;&amp;#160; &amp;#160;&amp;#160;&amp;#160; &amp;#160;&amp;#160;&amp;#160; &lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;&amp;#160;56&lt;/span&gt;&amp;#160;{&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;&amp;#160;57&lt;/span&gt;&amp;#160;&amp;#160; &lt;span style=&quot;color: green;&quot;&gt;// Initialise the ports for output to drive the LEDs&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;&amp;#160;58&lt;/span&gt;&amp;#160;&amp;#160; &lt;span style=&quot;color: blue;&quot;&gt;for&lt;/span&gt; (&lt;span style=&quot;color: blue;&quot;&gt;int&lt;/span&gt; i=0; i&amp;lt;maxProjects; i++) {&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;&amp;#160;59&lt;/span&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; pinMode(greenLEDPin[i], OUTPUT);&amp;#160;&amp;#160;&amp;#160; &lt;span style=&quot;color: green;&quot;&gt;// sets the digital pin as output for the green/blue part of the tri color LED&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;&amp;#160;60&lt;/span&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; pinMode(redLEDPin[i], OUTPUT);&amp;#160;&amp;#160;&amp;#160; &amp;#160; &lt;span style=&quot;color: green;&quot;&gt;// sets the digital pin as output for the red part of the tri color LED&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;&amp;#160;61&lt;/span&gt;&amp;#160;&amp;#160; }&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;&amp;#160;62&lt;/span&gt;&amp;#160;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;&amp;#160;63&lt;/span&gt;&amp;#160;&amp;#160; &lt;span style=&quot;color: green;&quot;&gt;// Setup Serial communications&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;&amp;#160;64&lt;/span&gt;&amp;#160;&amp;#160; Serial.begin(57600);&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;&amp;#160;65&lt;/span&gt;&amp;#160;}&lt;/p&gt;&lt;br /&gt;
&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
The setup method iterates through all the projects setting up the pins designated as leds for output and then sets up serial communications at a baud rate or 57,600.  Fortunately the Arduino takes care of the difficult serial comms bits for us.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Main Loop&lt;/strong&gt;:&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;font-family: Courier New; font-size: 10pt; color: black; background: white;&quot;&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;&amp;#160;67&lt;/span&gt;&amp;#160;&lt;span style=&quot;color: green;&quot;&gt;// Main loop, runs over and over again&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;&amp;#160;68&lt;/span&gt;&amp;#160;&lt;span style=&quot;color: blue;&quot;&gt;void&lt;/span&gt; loop()&amp;#160;&amp;#160;&amp;#160; &amp;#160;&amp;#160;&amp;#160; &amp;#160;&amp;#160;&amp;#160; &amp;#160;&amp;#160;&amp;#160; &amp;#160;&amp;#160;&amp;#160;  &lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;&amp;#160;69&lt;/span&gt;&amp;#160;{&amp;#160; &lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;&amp;#160;70&lt;/span&gt;&amp;#160;&amp;#160; &lt;span style=&quot;color: green;&quot;&gt;// Check and Read settings from PC&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;&amp;#160;71&lt;/span&gt;&amp;#160;&amp;#160; ReadCommands();&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;&amp;#160;72&lt;/span&gt;&amp;#160;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;&amp;#160;73&lt;/span&gt;&amp;#160;&amp;#160; &lt;span style=&quot;color: green;&quot;&gt;// Update the LED&#039;s to indicate project status&#039;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;&amp;#160;74&lt;/span&gt;&amp;#160;&amp;#160; UpdateLEDs();&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;&amp;#160;75&lt;/span&gt;&amp;#160;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;&amp;#160;76&lt;/span&gt;&amp;#160;&amp;#160; &lt;span style=&quot;color: green;&quot;&gt;// Idle.&amp;#160;&amp;#160;&amp;#160; &amp;#160;&amp;#160; &lt;/span&gt;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;&amp;#160;77&lt;/span&gt;&amp;#160;&amp;#160; Idle();&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;&amp;#160;78&lt;/span&gt;&amp;#160;}&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;&amp;#160;79&lt;/span&gt;&amp;#160;&lt;/p&gt;&lt;br /&gt;
&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
The loop method is the main application loop that the Arduino will enter once setup is complete and will keep repeating.  &lt;br /&gt;
&lt;br /&gt;
Within loop we call 3 basic methods, ReadCommands() which will check the serial port for commands from the host, UpdateLEDs() which will update the leds based on the project status and Idle() which just inserts a small delay but can be used for other background tasks.&lt;br /&gt;
&lt;br /&gt;
The comms protocol is a fairly simple one. All messages should start with a byte value of 2 and terminate with a byte value of 3 so the Arduino can easily know when a instruction has been received.&lt;br /&gt;
&lt;br /&gt;
To update a project status send the ascii string @P[x]=y with x being the project number 1-6 and y being the status (0, 1, 2, 5, 6).  &lt;br /&gt;
&lt;br /&gt;
To query the version number of the firmware send ?V. &lt;br /&gt;
&lt;br /&gt;
Ive stolen the comms protocol from another project Im working on with the Arduino that has more commands and queries so Ive based all commands where the Arduino has to do work on the @ character and all queries on the ? character to help separate out the commands and queries.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;RS232 Message handling&lt;/strong&gt;:&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;font-family: Courier New; font-size: 10pt; color: black; background: white;&quot;&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;&amp;#160;86&lt;/span&gt;&amp;#160;&lt;span style=&quot;color: green;&quot;&gt;// Read commands sent from the PC&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;&amp;#160;87&lt;/span&gt;&amp;#160;&lt;span style=&quot;color: blue;&quot;&gt;void&lt;/span&gt; ReadCommands() &lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;&amp;#160;88&lt;/span&gt;&amp;#160;{&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;&amp;#160;89&lt;/span&gt;&amp;#160;&amp;#160; &lt;span style=&quot;color: green;&quot;&gt;// Check if serial data available, if so then read this in&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;&amp;#160;90&lt;/span&gt;&amp;#160;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;&amp;#160;91&lt;/span&gt;&amp;#160;&amp;#160; &lt;span style=&quot;color: green;&quot;&gt;// Read all from the serial port until no more bytes available looking for the&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;&amp;#160;92&lt;/span&gt;&amp;#160;&amp;#160; &lt;span style=&quot;color: green;&quot;&gt;// start byte (1) of a message.&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;&amp;#160;93&lt;/span&gt;&amp;#160;&amp;#160; &lt;span style=&quot;color: blue;&quot;&gt;while&lt;/span&gt; (Serial.available()) {&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;&amp;#160;94&lt;/span&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;span style=&quot;color: green;&quot;&gt;//read the incoming byte:&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;&amp;#160;95&lt;/span&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;span style=&quot;color: blue;&quot;&gt;int&lt;/span&gt; incomingByte = Serial.read();&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;&amp;#160;96&lt;/span&gt;&amp;#160;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;&amp;#160;97&lt;/span&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;span style=&quot;color: green;&quot;&gt;// Start identifier.&amp;#160; STX&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;&amp;#160;98&lt;/span&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;span style=&quot;color: blue;&quot;&gt;if&lt;/span&gt; (incomingByte == 2) {&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;&amp;#160;99&lt;/span&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;#160; &lt;span style=&quot;color: green;&quot;&gt;// Found start byte now read in until we get the end of message byte.&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;100&lt;/span&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;#160; ReadSeialCommand(); &lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;101&lt;/span&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;#160; &lt;span style=&quot;color: blue;&quot;&gt;return&lt;/span&gt;;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;102&lt;/span&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; }&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;103&lt;/span&gt;&amp;#160;&amp;#160; }&amp;#160; &lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;104&lt;/span&gt;&amp;#160;}&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;105&lt;/span&gt;&amp;#160;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;106&lt;/span&gt;&amp;#160;&lt;span style=&quot;color: green;&quot;&gt;// Read a command from the serial port.&amp;#160; Read until the read byte&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;107&lt;/span&gt;&amp;#160;&lt;span style=&quot;color: green;&quot;&gt;// is an end of message (new line) indicator.&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;108&lt;/span&gt;&amp;#160;&lt;span style=&quot;color: blue;&quot;&gt;void&lt;/span&gt; ReadSeialCommand() {&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;109&lt;/span&gt;&amp;#160;&amp;#160; &lt;span style=&quot;color: green;&quot;&gt;// Expect maximum of 25 bytes (normally 6)&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;110&lt;/span&gt;&amp;#160;&amp;#160; &lt;span style=&quot;color: blue;&quot;&gt;byte&lt;/span&gt; buffer[25];&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;111&lt;/span&gt;&amp;#160;&amp;#160; &lt;span style=&quot;color: blue;&quot;&gt;int&lt;/span&gt; index=0;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;112&lt;/span&gt;&amp;#160;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;113&lt;/span&gt;&amp;#160;&amp;#160; &lt;span style=&quot;color: blue;&quot;&gt;while&lt;/span&gt; (&lt;span style=&quot;color: blue;&quot;&gt;true&lt;/span&gt;) {&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;114&lt;/span&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;span style=&quot;color: blue;&quot;&gt;if&lt;/span&gt; (Serial.available()) {&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;115&lt;/span&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;#160; &lt;span style=&quot;color: green;&quot;&gt;// read the incoming byte:&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;116&lt;/span&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;#160; &lt;span style=&quot;color: blue;&quot;&gt;int&lt;/span&gt; incomingByte = Serial.read();&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;117&lt;/span&gt;&amp;#160;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;118&lt;/span&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;#160; &lt;span style=&quot;color: green;&quot;&gt;// Terminating byte&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;119&lt;/span&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;#160; &lt;span style=&quot;color: green;&quot;&gt;// Wait for ETX (End of text - transmision)&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;120&lt;/span&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;#160; &lt;span style=&quot;color: blue;&quot;&gt;if&lt;/span&gt; (incomingByte==3) {&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;121&lt;/span&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;#160;&amp;#160;&amp;#160; ProcessRequest(buffer);&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;122&lt;/span&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;#160;&amp;#160;&amp;#160; &lt;span style=&quot;color: blue;&quot;&gt;return&lt;/span&gt;;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;123&lt;/span&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;#160; } &lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;124&lt;/span&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;#160; &lt;span style=&quot;color: blue;&quot;&gt;else&lt;/span&gt; {&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;125&lt;/span&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;#160;&amp;#160;&amp;#160; buffer[index] = incomingByte;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;126&lt;/span&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;#160;&amp;#160;&amp;#160; index++;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;127&lt;/span&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;#160; }&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;128&lt;/span&gt;&amp;#160;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;129&lt;/span&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;#160; &lt;span style=&quot;color: green;&quot;&gt;// Check for buffer overflow and give up if it has.&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;130&lt;/span&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;#160; &lt;span style=&quot;color: blue;&quot;&gt;if&lt;/span&gt; (index&amp;gt;25) {&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;131&lt;/span&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;#160;&amp;#160;&amp;#160; Serial.print(&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;Error:Buffer Overflow.\n\r&quot;&lt;/span&gt;);&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;132&lt;/span&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;#160;&amp;#160;&amp;#160; &lt;span style=&quot;color: blue;&quot;&gt;return&lt;/span&gt;;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;133&lt;/span&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;#160; }&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;134&lt;/span&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; }&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;135&lt;/span&gt;&amp;#160;&amp;#160; }&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;136&lt;/span&gt;&amp;#160;}&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;137&lt;/span&gt;&amp;#160;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;138&lt;/span&gt;&amp;#160;&lt;span style=&quot;color: blue;&quot;&gt;void&lt;/span&gt; ProcessRequest(&lt;span style=&quot;color: blue;&quot;&gt;byte&lt;/span&gt; request[]) {&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;139&lt;/span&gt;&amp;#160;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;140&lt;/span&gt;&amp;#160;&amp;#160; boolean processed = &lt;span style=&quot;color: blue;&quot;&gt;false&lt;/span&gt;;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;141&lt;/span&gt;&amp;#160;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;142&lt;/span&gt;&amp;#160;&amp;#160; &lt;span style=&quot;color: green;&quot;&gt;// Check for Query commands (? at the start)&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;143&lt;/span&gt;&amp;#160;&amp;#160; &lt;span style=&quot;color: blue;&quot;&gt;if&lt;/span&gt; (request[0] == 63) {&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;144&lt;/span&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;span style=&quot;color: green;&quot;&gt;// Query&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;145&lt;/span&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; processed = ProcessQuery(request);&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;146&lt;/span&gt;&amp;#160;&amp;#160; } &lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;147&lt;/span&gt;&amp;#160;&amp;#160; &lt;span style=&quot;color: blue;&quot;&gt;else&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;if&lt;/span&gt; (request[0] == 64) {&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;148&lt;/span&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;span style=&quot;color: green;&quot;&gt;// Set (@P[x]=0) - Set Project x = status.&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;149&lt;/span&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; processed = ProcessSetValue(request);&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;150&lt;/span&gt;&amp;#160;&amp;#160; }&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;151&lt;/span&gt;&amp;#160;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;152&lt;/span&gt;&amp;#160;&amp;#160; &lt;span style=&quot;color: blue;&quot;&gt;if&lt;/span&gt; (!processed) {&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;153&lt;/span&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Serial.print (&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;Error:Unknown Request.\n\r&quot;&lt;/span&gt;);&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;154&lt;/span&gt;&amp;#160;&amp;#160; } &lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;155&lt;/span&gt;&amp;#160;}&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;156&lt;/span&gt;&amp;#160;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;157&lt;/span&gt;&amp;#160;boolean ProcessQuery(&lt;span style=&quot;color: blue;&quot;&gt;byte&lt;/span&gt; request[]) {&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;158&lt;/span&gt;&amp;#160;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;159&lt;/span&gt;&amp;#160;&amp;#160; boolean processed = &lt;span style=&quot;color: blue;&quot;&gt;false&lt;/span&gt;;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;160&lt;/span&gt;&amp;#160;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;161&lt;/span&gt;&amp;#160;&amp;#160; &lt;span style=&quot;color: blue;&quot;&gt;switch&lt;/span&gt; (request[1]) {&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;162&lt;/span&gt;&amp;#160;&amp;#160; &lt;span style=&quot;color: blue;&quot;&gt;case&lt;/span&gt; 86: &lt;span style=&quot;color: green;&quot;&gt;// ?V - version&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;163&lt;/span&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; processed = SendVersion();&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;164&lt;/span&gt;&amp;#160;&amp;#160; &lt;span style=&quot;color: blue;&quot;&gt;default&lt;/span&gt;:&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;165&lt;/span&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Serial.print (&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;Error:Unknown Query.\n\r&quot;&lt;/span&gt;);&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;166&lt;/span&gt;&amp;#160;&amp;#160; }&amp;#160;&amp;#160;&amp;#160; &lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;167&lt;/span&gt;&amp;#160;&amp;#160; &lt;span style=&quot;color: blue;&quot;&gt;return&lt;/span&gt; processed;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;168&lt;/span&gt;&amp;#160;}&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;169&lt;/span&gt;&amp;#160;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;170&lt;/span&gt;&amp;#160;boolean ProcessSetValue(&lt;span style=&quot;color: blue;&quot;&gt;byte&lt;/span&gt; request[]) {&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;171&lt;/span&gt;&amp;#160;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;172&lt;/span&gt;&amp;#160;&amp;#160; boolean processed = &lt;span style=&quot;color: blue;&quot;&gt;false&lt;/span&gt;;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;173&lt;/span&gt;&amp;#160;&amp;#160; &lt;span style=&quot;color: blue;&quot;&gt;byte&lt;/span&gt; command = request[1];&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;174&lt;/span&gt;&amp;#160;&amp;#160; &lt;span style=&quot;color: green;&quot;&gt;// Allow ascii version of the fan number.&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;175&lt;/span&gt;&amp;#160;&amp;#160; &lt;span style=&quot;color: green;&quot;&gt;//Position 2 should be [&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;176&lt;/span&gt;&amp;#160;&amp;#160; &lt;span style=&quot;color: blue;&quot;&gt;byte&lt;/span&gt; project = request[3] - 48; &lt;span style=&quot;color: green;&quot;&gt;// 48 = 0&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;177&lt;/span&gt;&amp;#160;&amp;#160; &lt;span style=&quot;color: green;&quot;&gt;//position 4 should be ]&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;178&lt;/span&gt;&amp;#160;&amp;#160; &lt;span style=&quot;color: green;&quot;&gt;//position 5 should be =&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;179&lt;/span&gt;&amp;#160;&amp;#160; &lt;span style=&quot;color: green;&quot;&gt;//position 6 should be the raw value.&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;180&lt;/span&gt;&amp;#160;&amp;#160; &lt;span style=&quot;color: blue;&quot;&gt;byte&lt;/span&gt; value = request[6];&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;181&lt;/span&gt;&amp;#160;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;182&lt;/span&gt;&amp;#160;&amp;#160; &lt;span style=&quot;color: blue;&quot;&gt;switch&lt;/span&gt; (command) {&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;183&lt;/span&gt;&amp;#160;&amp;#160; &lt;span style=&quot;color: blue;&quot;&gt;case&lt;/span&gt; 80: &lt;span style=&quot;color: green;&quot;&gt;//@P[x]=y Set project x status y.&amp;#160; y is ascii version of the status (0-9).&amp;#160; so subtract 48.&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;184&lt;/span&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; processed = SetProjectStatus((&lt;span style=&quot;color: blue;&quot;&gt;int&lt;/span&gt;)project, (&lt;span style=&quot;color: blue;&quot;&gt;int&lt;/span&gt;)value - 48);&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;185&lt;/span&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;span style=&quot;color: blue;&quot;&gt;break&lt;/span&gt;;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;186&lt;/span&gt;&amp;#160;&amp;#160; &lt;span style=&quot;color: blue;&quot;&gt;default&lt;/span&gt;:&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;187&lt;/span&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Serial.print (&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;Error:Unknown set command.&quot;&lt;/span&gt;);&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;188&lt;/span&gt;&amp;#160;&amp;#160; }&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;189&lt;/span&gt;&amp;#160;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;190&lt;/span&gt;&amp;#160;&amp;#160; &lt;span style=&quot;color: blue;&quot;&gt;return&lt;/span&gt; processed;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;191&lt;/span&gt;&amp;#160;}&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;192&lt;/span&gt;&amp;#160;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;193&lt;/span&gt;&amp;#160;boolean SendVersion() {&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;194&lt;/span&gt;&amp;#160;&amp;#160; Serial.print (&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;Version=&quot;&lt;/span&gt;);&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;195&lt;/span&gt;&amp;#160;&amp;#160; Serial.print (VERSION);&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;196&lt;/span&gt;&amp;#160;&amp;#160; Serial.print (&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;\n\r&quot;&lt;/span&gt;);&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;197&lt;/span&gt;&amp;#160;&amp;#160; &lt;span style=&quot;color: blue;&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;true&lt;/span&gt;;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;198&lt;/span&gt;&amp;#160;}&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;199&lt;/span&gt;&amp;#160;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;200&lt;/span&gt;&amp;#160;&lt;span style=&quot;color: green;&quot;&gt;// Set the status for the project.&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;201&lt;/span&gt;&amp;#160;boolean SetProjectStatus(&lt;span style=&quot;color: blue;&quot;&gt;int&lt;/span&gt; project, &lt;span style=&quot;color: blue;&quot;&gt;int&lt;/span&gt; status) {&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;202&lt;/span&gt;&amp;#160;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;203&lt;/span&gt;&amp;#160;&amp;#160; &lt;span style=&quot;color: blue;&quot;&gt;if&lt;/span&gt; (projectStatus[project-1] != status) {&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;204&lt;/span&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; projectStatus[project-1] = status;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;205&lt;/span&gt;&amp;#160;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;206&lt;/span&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;span style=&quot;color: green;&quot;&gt;// Build failed.&amp;#160; Flash the red LED briefly to get attention.&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;207&lt;/span&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;span style=&quot;color: blue;&quot;&gt;if&lt;/span&gt; (status == 1) {&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;208&lt;/span&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;#160; digitalWrite(greenLEDPin[project-1], LOW);&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;209&lt;/span&gt;&amp;#160;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;210&lt;/span&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;#160; &lt;span style=&quot;color: blue;&quot;&gt;for&lt;/span&gt; (&lt;span style=&quot;color: blue;&quot;&gt;int&lt;/span&gt; i=0; i&amp;lt;6; i++) {&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;211&lt;/span&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;#160;&amp;#160;&amp;#160; digitalWrite(redLEDPin[project-1], HIGH);&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;212&lt;/span&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;#160;&amp;#160;&amp;#160; delay(100);&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;213&lt;/span&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;#160;&amp;#160;&amp;#160; digitalWrite(redLEDPin[project-1], LOW);&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;214&lt;/span&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;#160;&amp;#160;&amp;#160; delay(100);&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;215&lt;/span&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;#160; }&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;216&lt;/span&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; }&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;217&lt;/span&gt;&amp;#160;&amp;#160; }&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;218&lt;/span&gt;&amp;#160;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;219&lt;/span&gt;&amp;#160;&amp;#160; &lt;span style=&quot;color: blue;&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;true&lt;/span&gt;;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;220&lt;/span&gt;&amp;#160;}&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;221&lt;/span&gt;&amp;#160;&lt;/p&gt;&lt;br /&gt;
&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
The method ReadCommands() will read the input buffer until it receives the start byte then call ReadSerialCommand() which reads the rest of the command into a buffer until it received the end byte.  Ive limited the buffer to 25 bytes which should be plenty and if this overflows then we just abandon it.  Their is no timeout between receiving the start and end bytes so this could cause a problem if the end byte is not received.&lt;br /&gt;
&lt;br /&gt;
Notice in the method SetProjectStatus() that the project index used is -1 from the project value sent.  When sending commands the first project is project 1 however the Arduino uses 0 based arrays.&lt;br /&gt;
&lt;br /&gt;
In SetProjectStatus() if the project state changes to be failure (value 1) then the red led is flashed 6 times to draw attention to the indicator.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Project State Indication&lt;/strong&gt;:&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;font-family: Courier New; font-size: 10pt; color: black; background: white;&quot;&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;222&lt;/span&gt;&amp;#160;boolean UpdateLEDs() {&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;223&lt;/span&gt;&amp;#160;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;224&lt;/span&gt;&amp;#160;&amp;#160; &lt;span style=&quot;color: blue;&quot;&gt;for&lt;/span&gt; (&lt;span style=&quot;color: blue;&quot;&gt;int&lt;/span&gt; i=0; i&amp;lt;maxProjects; i++) {&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;225&lt;/span&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;span style=&quot;color: blue;&quot;&gt;int&lt;/span&gt; greenLEDStatus = LOW;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;226&lt;/span&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;span style=&quot;color: blue;&quot;&gt;int&lt;/span&gt; redLEDStatus = LOW;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;227&lt;/span&gt;&amp;#160;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;228&lt;/span&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;span style=&quot;color: blue;&quot;&gt;switch&lt;/span&gt; (projectStatus[i]) {&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;229&lt;/span&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;span style=&quot;color: blue;&quot;&gt;case&lt;/span&gt; 0: &lt;span style=&quot;color: green;&quot;&gt;// NC&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;230&lt;/span&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;#160; &lt;span style=&quot;color: green;&quot;&gt;// No acton&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;231&lt;/span&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;#160; &lt;span style=&quot;color: blue;&quot;&gt;break&lt;/span&gt;;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;232&lt;/span&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;span style=&quot;color: blue;&quot;&gt;case&lt;/span&gt; 1: &lt;span style=&quot;color: green;&quot;&gt;// Fail&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;233&lt;/span&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;#160; redLEDStatus = HIGH;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;234&lt;/span&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;#160; &lt;span style=&quot;color: blue;&quot;&gt;break&lt;/span&gt;;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;235&lt;/span&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;span style=&quot;color: blue;&quot;&gt;case&lt;/span&gt; 2: &lt;span style=&quot;color: green;&quot;&gt;// Good&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;236&lt;/span&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;#160; greenLEDStatus = HIGH;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;237&lt;/span&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;#160; &lt;span style=&quot;color: blue;&quot;&gt;break&lt;/span&gt;;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;238&lt;/span&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;span style=&quot;color: blue;&quot;&gt;case&lt;/span&gt; 5: &lt;span style=&quot;color: green;&quot;&gt;// Building from a Fail build&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;239&lt;/span&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;span style=&quot;color: blue;&quot;&gt;case&lt;/span&gt; 6: &lt;span style=&quot;color: green;&quot;&gt;// Building from a good build&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;240&lt;/span&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;#160; greenLEDStatus = HIGH;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;241&lt;/span&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;#160; redLEDStatus = HIGH;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;242&lt;/span&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;#160; &lt;span style=&quot;color: blue;&quot;&gt;break&lt;/span&gt;;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;243&lt;/span&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;span style=&quot;color: blue;&quot;&gt;default&lt;/span&gt;:&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;244&lt;/span&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;#160; redLEDStatus = HIGH;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;245&lt;/span&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;#160; &lt;span style=&quot;color: blue;&quot;&gt;break&lt;/span&gt;;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;246&lt;/span&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; }&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;247&lt;/span&gt;&amp;#160;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;248&lt;/span&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;span style=&quot;color: green;&quot;&gt;// Determine project LED pins and set them appropriatly.&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;249&lt;/span&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; digitalWrite(redLEDPin[i], redLEDStatus);&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;250&lt;/span&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; digitalWrite(greenLEDPin[i], greenLEDStatus);&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;251&lt;/span&gt;&amp;#160;&amp;#160; }&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;&amp;#160;&amp;#160;252&lt;/span&gt;&amp;#160;}&lt;/p&gt;&lt;br /&gt;
&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
In the method UpdateLEDs() we update the led status based on the project status.  &lt;br /&gt;
&lt;br /&gt;
If you are wondering what happened to status codes 3 &amp;amp; 4 Ive used a bit based project status.  0001 (1) is fail, 0010 (2) is good, 01xx is building so 0101 (5) is building from a previously failed state and 0110 (6) is building from a good previous good state.&lt;br /&gt;
&lt;br /&gt;
If you want to use indicators other than leds for your project state then you can update the UpdateLEDs() method with another way to indicate the project status (maybe a LCD panel?).&lt;br /&gt;
&lt;br /&gt;
Thats basically the firmware, not much to it, the Arduino does most of the work for us which is the best bit!&lt;br /&gt;
&lt;br /&gt;
To program the Arduino connect it up, install the drivers (my Vista x64 and Vista x86 installs got the drivers from Windows Update without a problem and also installed the VCP virtual com port drivers).  Open up the IDE, ensure the board and serial port are correct and load the &lt;a href=&quot;http://www.analysisuk.com/blog/exit.php?url_id=196&amp;amp;entry_id=40&quot; title=&quot;http://www.AnalysisUK.com/Download/BuildIndicator.zip&quot;  onmouseover=&quot;window.status=&#039;http://www.AnalysisUK.com/Download/BuildIndicator.zip&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;build indicator firmware&lt;/a&gt;, then hit the upload to I/O board button.  &lt;br /&gt;
&lt;br /&gt;
In the next entry Ill talk about the PC application to drive the Arduino. 
    </content:encoded>

    <pubDate>Mon,  7 Jul 2008 00:38:36 +0100</pubDate>
    <guid isPermaLink="false">http://www.analysisuk.com/blog/archives/40-guid.html</guid>
    
</item>
<item>
    <title>Build Indicators revisited</title>
    <link>http://www.analysisuk.com/blog/archives/39-Build-Indicators-revisited.html</link>
            <category>General</category>
    
    <comments>http://www.analysisuk.com/blog/archives/39-Build-Indicators-revisited.html#comments</comments>
    <wfw:comment>http://www.analysisuk.com/blog/wfwcomment.php?cid=39</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.analysisuk.com/blog/rss.php?version=2.0&amp;type=comments&amp;cid=39</wfw:commentRss>
    

    <author>nospam@example.com (Stephen Harrison)</author>
    <content:encoded>
    &lt;img src=&quot;http://www.analysisuk.com/blog/uploads/GreenTree.jpg&quot; alt=&quot;Arduino controlled X-Mas tree.&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
Some time ago I posted about a &lt;a href=&quot; http://www.analysisuk.com/blog/archives/33-Putting-the-SnowMan-to-work-Cruise-Control-.Net-Build-Status-Monitor..html&quot;&gt;USB Snowman build indicator&lt;/a&gt;, the problem with the first version was the USB IO board I used, its availability was limited and the output was designed as a current sink rather than source, so some modifications had to be made to the board, which isnt really ideal.&lt;br /&gt;
&lt;br /&gt;
Recently I came across the Arduino project, an open source hardware solution and one of the little &lt;a href=&quot; http://www.arduino.cc/en/Main/ArduinoBoardDiecimila&quot;&gt;Diecimila boards&lt;/a&gt; provides a perfect base for revisiting the build indicator.  The SnowMan is still in use at home and I wanted one for work as well so I figured Id make another build indicator based on the Arduino.&lt;br /&gt;
&lt;br /&gt;
&lt;img src=&quot;http://www.analysisuk.com/blog/uploads/ArduinoDiecimila.jpg&quot; alt=&quot;Arduino Diecimila.&quot;/&gt;&lt;br /&gt;
&lt;br /&gt;
The 13 IO pins can sink or source up to 40mA which is ideal for driving the tri-color led used by the build indicator.  The led requires 2 current sources and has a common cathode.  The Arduino has a USB interface that provides normal serial port communications to the host PC so interfacing is easy as well.&lt;br /&gt;
&lt;br /&gt;
This time instead of a snowman I decided to use a Xmas tree.  They are very similar, basically a lump of plastic with a 5MM LED mounted inside.  The Arduino provides multiple IO ports of which Im using only two and the intention here is to provide some common functionality so that the device could be easily adapted to other forms of build indication (Switching relays, multiple project build indicators, other leds, buzzers etc).&lt;br /&gt;
&lt;br /&gt;
&lt;img src=&quot;http://www.analysisuk.com/blog/uploads/XMasTree.jpg&quot; alt=&quot;X-Mas tree as new.&quot;/&gt;&lt;br /&gt;
&lt;br /&gt;
Removing the base and replacing the led is a simple job, either use a flat screwdriver or use the cable exit to push off the base off. &lt;br /&gt;
&lt;br /&gt;
&lt;img src=&quot;http://www.analysisuk.com/blog/uploads/XMasTreeBase.jpg&quot; alt=&quot;X-Mas tree from underneath.&quot;/&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;img src=&quot;http://www.analysisuk.com/blog/uploads/XMasTreeBaseRemoved.jpg&quot; alt=&quot;X-Mas tree base removed.&quot;/&gt;&lt;br /&gt;
&lt;br /&gt;
Pull out the led fitted into the tree using the cable.  This is no longer needed.&lt;br /&gt;
&lt;br /&gt;
&lt;img src=&quot;http://www.analysisuk.com/blog/uploads/XMasTreeLEDRemoved.jpg&quot; alt=&quot;X-Mas tree led removed.&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
Now glue the base onto the top of the box the tree is to be mounted on.  Previously I used a black ABS box but this time Im using a &lt;a href=&quot;http://www.analysisuk.com/blog/exit.php?url_id=192&amp;amp;entry_id=39&quot; title=&quot;http://www.maplin.co.uk/Module.aspx?ModuleNo=30226&amp;&amp;source=14&amp;doy=Search&quot;  onmouseover=&quot;window.status=&#039;http://www.maplin.co.uk/Module.aspx?ModuleNo=30226&amp;&amp;source=14&amp;doy=Search&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;ice blue box&lt;/a&gt; and this has worked out much better for aligning the parts and seeing the leds on the Arduino board (RX/TX when programming), and also appeals to the inner geek a little more now that the workings can be seen.&lt;br /&gt;
&lt;br /&gt;
&lt;img src=&quot;http://www.analysisuk.com/blog/uploads/CaseWithBase.jpg&quot; alt=&quot;Plastic case with X-Mas tree base glued in place.&quot;/&gt;&lt;br /&gt;
&lt;br /&gt;
Drill a hole through the middle of the base so that it will line up with the middle of the x-mas tree.  This is best done with the base stuck to the box as it holds it in place and ensures every thing lines up.  The hole should be about 7-8mm so that the LED + resistors pass thought easily.&lt;br /&gt;
&lt;br /&gt;
&lt;img src=&quot;http://www.analysisuk.com/blog/uploads/CaseWithBaseAndHole.jpg&quot; alt=&quot;Hole through Xmas tree base and case.&quot;/&gt;&lt;br /&gt;
&lt;br /&gt;
Now we need to prepare the led.  Using a standard Tri-Color led (Ive used Red + Green) we need to fit a current limiting resistor to the supply legs.  One for the red and one for the green component of the led.  &lt;br /&gt;
&lt;br /&gt;
Using the datasheet for the led the voltage drop across the red Led is about 2V, this leaves a drop of 3V across the current limiting resistor as its driven from a 5V source.  Im going to drive the Leds at 30mA, so we will need a 100R resistor for the red Led.  &lt;br /&gt;
&lt;br /&gt;
The green led has a different voltage drop across it (3.4V) so we need to do the same calculation for that and again aim to drive it at 30mA which means we need a 53R resistor, as I only had a 56R resistor to hand Ive used that which gives us about 29mA current flow.&lt;br /&gt;
&lt;br /&gt;
The data sheet gives luminous intensity for both red and green at 20mA and the green is much brighter than the red so we may wish at a latter date to play around with the drive current to get a better balance when both red and green are on.&lt;br /&gt;
 &lt;br /&gt;
Trim the red and green legs of the led fairly short but leave enough to solder on the resistors and attach these.  Next connect a cable to the other side of the resistors and to the common pin on the led.  If you prefer you can attach the resistors to the Arduino connector and solder the cable directly to the led.&lt;br /&gt;
&lt;br /&gt;
&lt;img src=&quot;http://www.analysisuk.com/blog/uploads/TriColorLED.jpg&quot; alt=&quot;The Tri-color led.&quot;/&gt;&lt;br /&gt;
&lt;br /&gt;
I used 2 core screened cable as this happened to be what I had to hand and as it turns out by tinning the screen and soldering to the led common pin gives a good sturdy way to physically push the led into the socket in the tree (and pull it out again!).  I also put a bit of heat shrinking around the connections to prevent them shorting out.&lt;br /&gt;
&lt;br /&gt;
&lt;img src=&quot;http://www.analysisuk.com/blog/uploads/LEDConnected.jpg&quot; alt=&quot;Led with resistors and wires connected.&quot;/&gt;&lt;br /&gt;
&lt;br /&gt;
Now we need the connection to the Arduino board, the led is connected to pins 12, 13 and GND.  This is easy as they are all close together and as an added bonus the Arduino already uses an onboard led on pin 13 for status when starting up which means that the tree flashes when the Arduino is starting up, its easy to use other pins if you prefer.&lt;br /&gt;
&lt;br /&gt;
Ive used a standard 0.1&quot; Molex connector (The type used for 3 pin PC fans), the PCB version is ideal, but soldering the led connecting wire to the PCB side and plugging it into the header in the Arduino rather than mounting it on a PCB.&lt;br /&gt;
&lt;br /&gt;
&lt;img src=&quot;http://www.analysisuk.com/blog/uploads/Connector.jpg&quot; alt=&quot;Connector for the led to Arduino controller.&quot;/&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;img src=&quot;http://www.analysisuk.com/blog/uploads/ConnectingLED.jpg&quot; alt=&quot;Led connector plugged into the Arduino.&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
Note that in the photos the red cable is actually for the green led and the blue one is for the red led.  It doesnt really matter a great deal which way round they go as long as you get the correct resistor matched up with the appropriate led.  However the default in the firmware is that the red led is on pin 13 and green on pin 12.&lt;br /&gt;
&lt;br /&gt;
Next drill some holes in the base of the box and mount the Arduino.  Note that one hole is smaller than the others so I ended up using only 2 mounting points due to my lack of any 2mm bolts.&lt;br /&gt;
&lt;br /&gt;
&lt;img src=&quot;http://www.analysisuk.com/blog/uploads/Mounts.jpg&quot; alt=&quot;Arduino mounting points.&quot;/&gt;&lt;br /&gt;
&lt;br /&gt;
The advantage of using a translucent box is finding the place to drill a hole of the USB connector.  I elected to use a cone drill and just have a circular cut out for the USB cable to go through, it doesnt look all that professional but it was quick and it worked a treat!&lt;br /&gt;
&lt;br /&gt;
&lt;img src=&quot;http://www.analysisuk.com/blog/uploads/USBHole.jpg&quot; alt=&quot;Hole for the USB connector&quot;/&gt;&lt;br /&gt;
&lt;br /&gt;
Next its just a matter of screwing everything together.&lt;br /&gt;
&lt;br /&gt;
&lt;img src=&quot;http://www.analysisuk.com/blog/uploads/FinalProduct.jpg&quot; alt=&quot;X-Mas tree build indicator assembled.&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;img src=&quot;http://www.analysisuk.com/blog/uploads/GreenTreeMounted6.jpg&quot; alt=&quot;A Green X-Mas tree.&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I put 6 small feet on the base of the box as well.  Why 6?  With sticky feet one always falls off (especially with commercial products!) and then it rocks, with 6 you still have some stability to the device if one falls off.&lt;br /&gt;
&lt;br /&gt;
Now all thats needed is a little firmware to run the Arduino and some software for the PC to put it to use but thats going to have to be the subject of the next posting(s). 
    </content:encoded>

    <pubDate>Thu,  3 Jul 2008 01:39:08 +0100</pubDate>
    <guid isPermaLink="false">http://www.analysisuk.com/blog/archives/39-guid.html</guid>
    
</item>
<item>
    <title>Recent Site Outages</title>
    <link>http://www.analysisuk.com/blog/archives/38-Recent-Site-Outages.html</link>
            <category>General</category>
    
    <comments>http://www.analysisuk.com/blog/archives/38-Recent-Site-Outages.html#comments</comments>
    <wfw:comment>http://www.analysisuk.com/blog/wfwcomment.php?cid=38</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.analysisuk.com/blog/rss.php?version=2.0&amp;type=comments&amp;cid=38</wfw:commentRss>
    

    <author>nospam@example.com (Stephen Harrison)</author>
    <content:encoded>
    Apologies for the recent outages on a number of the Analysis UK websites, these included &lt;a href=&quot;http://www.analysisuk.com/blog/exit.php?url_id=184&amp;amp;entry_id=38&quot;  onmouseover=&quot;window.status=&#039;http://www.BookSwap.ws&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;  title=&quot;BookSwap.ws&quot;&gt;BookSwap.ws&lt;/a&gt;, &lt;a href=&quot;http://www.analysisuk.com/blog/exit.php?url_id=185&amp;amp;entry_id=38&quot;  onmouseover=&quot;window.status=&#039;http://www.Dollars2Pounds.com&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot; title=&quot;Dollars 2 Pounds exchange rates&quot;&gt;Dollars2Pounds&lt;/a&gt;, &lt;a href=&quot;http://www.analysisuk.com/blog/exit.php?url_id=186&amp;amp;entry_id=38&quot;  onmouseover=&quot;window.status=&#039;http://www.Pounds2Euro.com&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot; title=&quot;Pounds to Euros exchange rated&quot;&gt;Pounds2Euro&lt;/a&gt; and all the other exchange rate sites as well as this blog.&lt;br /&gt;
&lt;br /&gt;
On Saturday the &lt;a href=&quot;http://www.analysisuk.com/blog/exit.php?url_id=188&amp;amp;entry_id=38&quot; title=&quot;http://forums.theplanet.com/index.php?showtopic=90185&quot;  onmouseover=&quot;window.status=&#039;http://forums.theplanet.com/index.php?showtopic=90185&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;hosting provider had an explosion and fire at one of it&#039;s data centers&lt;/a&gt; hosting one of servers.  Initial estimates that were given made it look like it would be quicker to leave the sites (it was a Sunday and their usually quiet on Sundays) and wait for the host to get the power back on.&lt;br /&gt;
&lt;br /&gt;
Unfortunately it didnt resolve that well, after many hours of delays some power was restored but floor 1 had even more damage than was anticipated and power was much slower at being restored, this unfortunately eat into most of Monday (UK time), however Monday evening all was back and well.&lt;br /&gt;
&lt;br /&gt;
I got home Tuesday tonight to find yet another apology from the company saying that this time the generator powering floor 1 had failed and they were sourcing a new one, this took a significant amount of time, especially given how much they like to state N+1 redundancy (i.e. a spare generator should have been to hand anyway).  &lt;a href=&quot;http://www.analysisuk.com/blog/exit.php?url_id=188&amp;amp;entry_id=38&quot; title=&quot;http://forums.theplanet.com/index.php?showtopic=90185&quot;  onmouseover=&quot;window.status=&#039;http://forums.theplanet.com/index.php?showtopic=90185&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;Updates were slow, uninformative, vague and at the point of being misleading&lt;/a&gt;  Ive have yet to see any photo&#039;s of anything as well.  Eventually power returned at about midnight UK time on Tuesday/Wednesday, so fingers crossed nothing else can go wrong in this world class N+1 redundancy data center!&lt;br /&gt;
&lt;br /&gt;
Sincere apologies to all those affected, this one is going firmly into the experience category and Im extremely unhappy this has taken so long to resolve, I will look to do more to improve this and hopefully &lt;a href=&quot;http://www.analysisuk.com/blog/exit.php?url_id=189&amp;amp;entry_id=38&quot; title=&quot;http://www.theplanet.com&quot;  onmouseover=&quot;window.status=&#039;http://www.theplanet.com&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;The Planet&lt;/a&gt; will learn and improve (if they have any customers left after this!).&lt;br /&gt;
&lt;br /&gt;
I read on &lt;a href=&quot;http://www.analysisuk.com/blog/exit.php?url_id=190&amp;amp;entry_id=38&quot; title=&quot;http://www.GoDaddy.com&quot;  onmouseover=&quot;window.status=&#039;http://www.GoDaddy.com&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;GoDaddy&lt;/a&gt; some time ago about a problem they had and that they didnt have geographical redundancy, if your running a serious e-commerce operation and have enough cash for some spare servers get them now and with a different host in a different [part of the] country.  &lt;br /&gt;
&lt;br /&gt;
BTW - If you have .co.uk domain names with GoDaddy be sure to renew them extra early as they claim they have to renew them at least a month early, then before the 20th of that month (unless I was getting some BS from the customer support as to why they canceled 4 of my domains over 1 month before the renewal date!).&lt;br /&gt;
 
    </content:encoded>

    <pubDate>Wed,  4 Jun 2008 01:56:26 +0100</pubDate>
    <guid isPermaLink="false">http://www.analysisuk.com/blog/archives/38-guid.html</guid>
    
</item>
<item>
    <title>Mid May Madness</title>
    <link>http://www.analysisuk.com/blog/archives/36-Mid-May-Madness.html</link>
            <category>LazyLoad</category>
    
    <comments>http://www.analysisuk.com/blog/archives/36-Mid-May-Madness.html#comments</comments>
    <wfw:comment>http://www.analysisuk.com/blog/wfwcomment.php?cid=36</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.analysisuk.com/blog/rss.php?version=2.0&amp;type=comments&amp;cid=36</wfw:commentRss>
    

    <author>nospam@example.com (Stephen Harrison)</author>
    <content:encoded>
    Now the summers on its way Im sure you want to be spending less time watching your computer start and more time enjoying the better weather.&lt;br /&gt;
&lt;br /&gt;
So for a limited time &lt;strong&gt;Ive reduced the price of LazyLoad&lt;/strong&gt; from $29.99 to &lt;strong&gt;$9.99&lt;/strong&gt;.  Why not take the opportunity to &lt;a href=&quot;http://www.analysisuk.com/blog/exit.php?url_id=183&amp;amp;entry_id=36&quot; title=&quot;http://www.LazyLoad.com/BuyLazyLoad.aspx&quot;  onmouseover=&quot;window.status=&#039;http://www.LazyLoad.com/BuyLazyLoad.aspx&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;purchase LazyLoad at the special price of $9.99&lt;/a&gt; and reduce the amount of time your staring at a computer waiting for it to be usable.&lt;br /&gt;
&lt;br /&gt;
Ive also introduced some extra purchasing options, for home users a family pack provides a great way to get LazyLoad on every machine in the house, for commercial users Ive added some site license options.&lt;br /&gt;
&lt;br /&gt;
About 7 months ago I launched &lt;a href=&quot;http://www.analysisuk.com/blog/exit.php?url_id=181&amp;amp;entry_id=36&quot; title=&quot;http://www.LazyLoad.com&quot;  onmouseover=&quot;window.status=&#039;http://www.LazyLoad.com&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;LazyLoad&lt;/a&gt; and at the time I intended to write a short blog post to talk about it.  Well 7 Months latter Im finally getting their, me and blogging just are not getting along.&lt;br /&gt;
&lt;br /&gt;
LazyLoad is designed to take the strain from you computer whilst it starts.  Simple really!  When you buy a new computer its always nice and quick, then years latter youre reduced to sitting waiting for it to start up and become usable.&lt;br /&gt;
&lt;br /&gt;
One of the main culprits of the slow start is all the programs that start when Windows starts.  Have a look at your notification area (bottom right of the screen), just how many programs have you got running in the background  lots?  Chances are that each one of these starts when Windows starts.&lt;br /&gt;
&lt;br /&gt;
What happens when Windows Starts?  Once youve logged in then all of the programs in your Startup folder get started along with those listed in a special part of the Windows registry.  They all get started at about the same time, this becomes a problem as they all need to be loaded from disk, they all need processor time to run, they all need to be put somewhere into the system memory.&lt;br /&gt;
&lt;br /&gt;
One of the major problems with this becomes the hard disk, to load all the programs the head in the hard disk needs to move to the track the programs stored on and read the data.  At the same time another application is asking for its data from a different area and so the head has to move again to the new location, possible not having completed the first request, so in the end the hard disk is shuffling the head back and forward over the disk to find what it needs.&lt;br /&gt;
&lt;br /&gt;
To reduce the strain on the hard disk and provide a smoother startup LazyLoad allows you to schedule the loading of your applications a specific time after your computer has started.  By stopping all the applications from loading at once the system is able to concentrate on a few specific tasks and get these done quicker  the net result is your machine becomes usable much earlier.&lt;br /&gt;
&lt;br /&gt;
LazyLoad is free to try for 30 days so if youve not already tried it then &lt;a href=&quot;http://www.analysisuk.com/blog/exit.php?url_id=182&amp;amp;entry_id=36&quot; title=&quot;http://www.LazyLoad.com/Download.aspx&quot;  onmouseover=&quot;window.status=&#039;http://www.LazyLoad.com/Download.aspx&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;download a copy&lt;/a&gt;.  If you like it then &lt;a href=&quot;http://www.analysisuk.com/blog/exit.php?url_id=183&amp;amp;entry_id=36&quot; title=&quot;http://www.LazyLoad.com/BuyLazyLoad.aspx&quot;  onmouseover=&quot;window.status=&#039;http://www.LazyLoad.com/BuyLazyLoad.aspx&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;purchase if license&lt;/a&gt; whilst its on special offer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 
    </content:encoded>

    <pubDate>Sat, 17 May 2008 20:26:00 +0100</pubDate>
    <guid isPermaLink="false">http://www.analysisuk.com/blog/archives/36-guid.html</guid>
    
</item>
<item>
    <title>Earthquake  in the UK!</title>
    <link>http://www.analysisuk.com/blog/archives/35-Earthquake-in-the-UK!.html</link>
            <category>General</category>
    
    <comments>http://www.analysisuk.com/blog/archives/35-Earthquake-in-the-UK!.html#comments</comments>
    <wfw:comment>http://www.analysisuk.com/blog/wfwcomment.php?cid=35</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.analysisuk.com/blog/rss.php?version=2.0&amp;type=comments&amp;cid=35</wfw:commentRss>
    

    <author>nospam@example.com (Stephen Harrison)</author>
    <content:encoded>
    Minor tremors felt here in Cambridge, thought I was going crazy and fired up &lt;a href=&quot;http://www.analysisuk.com/blog/exit.php?url_id=178&amp;amp;entry_id=35&quot; title=&quot;http://twitter.com&quot;  onmouseover=&quot;window.status=&#039;http://twitter.com&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;Twitter&lt;/a&gt; to see other reports, news starting to come through on &lt;a href=&quot;http://www.analysisuk.com/blog/exit.php?url_id=175&amp;amp;entry_id=35&quot; title=&quot;http://news.sky.com/skynews/article/0,,30100-1307071,00.html&quot;  onmouseover=&quot;window.status=&#039;http://news.sky.com/skynews/article/0,,30100-1307071,00.html&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;sky news&lt;/a&gt; sometime after.&lt;br /&gt;
&lt;br /&gt;
Turns out I wasnt imagining things!  Apparently 4.7 on the Richter scale.&lt;br /&gt;
&lt;br /&gt;
Unusual to get this in the UK.  Only minor here in Cambridge, like a helicopter flying over the house and the only thing to shake was me and the study lamp!&lt;br /&gt;
&lt;br /&gt;
Just woken up and want to get your PC fired up quickly to check out &lt;a href=&quot;http://www.analysisuk.com/blog/exit.php?url_id=176&amp;amp;entry_id=35&quot; title=&quot;http://news.sky.com/&quot;  onmouseover=&quot;window.status=&#039;http://news.sky.com/&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;Sky News&lt;/a&gt;, &lt;a href= &quot;http://news.bbc.co.uk/1/hi/england/7266136.stm&quot;&gt;BBC News&lt;/a&gt; or &lt;a href=&quot;http://www.analysisuk.com/blog/exit.php?url_id=178&amp;amp;entry_id=35&quot; title=&quot;http://twitter.com&quot;  onmouseover=&quot;window.status=&#039;http://twitter.com&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;Twitter&lt;/a&gt;?  Waiting for lots of background applications starting that you dont need and just want to fire up a browser quickly?  Check out &lt;a href=&quot;http://www.analysisuk.com/blog/exit.php?url_id=179&amp;amp;entry_id=35&quot; title=&quot;http://www.LazyLoad.com&quot;  onmouseover=&quot;window.status=&#039;http://www.LazyLoad.com&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;LazyLoad&lt;/a&gt; to delay the stuff you dont need immediately so you can get started sooner.&lt;br /&gt;
 
    </content:encoded>

    <pubDate>Wed, 27 Feb 2008 02:16:51 +0000</pubDate>
    <guid isPermaLink="false">http://www.analysisuk.com/blog/archives/35-guid.html</guid>
    
</item>
<item>
    <title>Just for fun.</title>
    <link>http://www.analysisuk.com/blog/archives/34-Just-for-fun..html</link>
    
    <comments>http://www.analysisuk.com/blog/archives/34-Just-for-fun..html#comments</comments>
    <wfw:comment>http://www.analysisuk.com/blog/wfwcomment.php?cid=34</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.analysisuk.com/blog/rss.php?version=2.0&amp;type=comments&amp;cid=34</wfw:commentRss>
    

    <author>nospam@example.com (Stephen Harrison)</author>
    <content:encoded>
    Sometimes you just have to join in the fun.  I read that &lt;a href=&quot;http://www.analysisuk.com/blog/exit.php?url_id=172&amp;amp;entry_id=34&quot; title=&quot;http://ap.google.com/article/ALeqM5hFzxF7XLwi7Il2DVEE6la0NVo--gD8SAP1MO0&quot;  onmouseover=&quot;window.status=&#039;http://ap.google.com/article/ALeqM5hFzxF7XLwi7Il2DVEE6la0NVo--gD8SAP1MO0&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;Stephen Colbert had announced his candidacy for president&lt;/a&gt;, and well I had a &lt;a href=&quot;http://www.analysisuk.com/blog/exit.php?url_id=173&amp;amp;entry_id=34&quot; title=&quot;http://www.Steve2Win.com&quot;  onmouseover=&quot;window.status=&#039;http://www.Steve2Win.com&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;domain name&lt;/a&gt; that wasn&#039;t really doing much so I figured I&#039;d join in the fun a little as well.&lt;br /&gt;
&lt;br /&gt;
So to show my support,&lt;a href=http://www.Steve2Win.com&gt;Steve 2 Win (http://www.Steve2Win.com)&lt;/a&gt; has been thrown together and released to the wild, just for fun you understand!  &lt;br /&gt;
&lt;br /&gt;
BTW - No snowmen were hurt in the production of the website!.&lt;br /&gt;
 
    </content:encoded>

    <pubDate>Tue, 30 Oct 2007 04:58:17 +0000</pubDate>
    <guid isPermaLink="false">http://www.analysisuk.com/blog/archives/34-guid.html</guid>
    
</item>
<item>
    <title>Putting the SnowMan to work : Cruise Control .Net Build Status Monitor.</title>
    <link>http://www.analysisuk.com/blog/archives/33-Putting-the-SnowMan-to-work-Cruise-Control-.Net-Build-Status-Monitor..html</link>
    
    <comments>http://www.analysisuk.com/blog/archives/33-Putting-the-SnowMan-to-work-Cruise-Control-.Net-Build-Status-Monitor..html#comments</comments>
    <wfw:comment>http://www.analysisuk.com/blog/wfwcomment.php?cid=33</wfw:comment>

    <slash:comments>2</slash:comments>
    <wfw:commentRss>http://www.analysisuk.com/blog/rss.php?version=2.0&amp;type=comments&amp;cid=33</wfw:commentRss>
    

    <author>nospam@example.com (Stephen Harrison)</author>
    <content:encoded>
    So X-Mas has long gone (well at least at the time of writing) and Im left with two issues, first I want to monitor the status of my builds easily, secondly I have some left over USB SnowMen.  &lt;br /&gt;
&lt;br /&gt;
Their can be only one thing for it.  Time to get the screw driver and glue out and turn the snow man into a build status indicator.  &lt;br /&gt;
&lt;br /&gt;
Now ideas like this are far from new, Ive read of teams using &lt;a href=&quot;http://www.analysisuk.com/blog/exit.php?url_id=164&amp;amp;entry_id=33&quot; title=&quot;http://www.pragmaticautomation.com/cgi-bin/pragauto.cgi/Monitor/Devices/BubbleBubbleBuildsInTrouble.rdoc&quot;  onmouseover=&quot;window.status=&#039;http://www.pragmaticautomation.com/cgi-bin/pragauto.cgi/Monitor/Devices/BubbleBubbleBuildsInTrouble.rdoc&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;Lava Lamps to indicate the status of their builds &lt;/a&gt; and the latest sources of &lt;a href=&quot;http://www.analysisuk.com/blog/exit.php?url_id=165&amp;amp;entry_id=33&quot; title=&quot;http://confluence.public.thoughtworks.org/display/CCNET/Welcome+to+CruiseControl.NET&quot;  onmouseover=&quot;window.status=&#039;http://confluence.public.thoughtworks.org/display/CCNET/Welcome+to+CruiseControl.NET&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;CCTray&lt;/a&gt; show signs of X10 control, &lt;a href=&quot;http://www.analysisuk.com/blog/exit.php?url_id=166&amp;amp;entry_id=33&quot; title=&quot;http://www.codinghorror.com&quot;  onmouseover=&quot;window.status=&#039;http://www.codinghorror.com&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;Jeff Atwood&lt;/a&gt; covered the subject using a &lt;a href=&quot;http://www.analysisuk.com/blog/exit.php?url_id=167&amp;amp;entry_id=33&quot; title=&quot;http://www.codinghorror.com/blog/archives/000238.html&quot;  onmouseover=&quot;window.status=&#039;http://www.codinghorror.com/blog/archives/000238.html&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;BetaBrite LED sign&lt;/a&gt;, Mike Swanson used an &lt;a href=&quot;http://www.analysisuk.com/blog/exit.php?url_id=168&amp;amp;entry_id=33&quot; title=&quot;http://blogs.msdn.com/mswanson/articles/169058.aspx&quot;  onmouseover=&quot;window.status=&#039;http://blogs.msdn.com/mswanson/articles/169058.aspx&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;Ambient Orb&lt;/a&gt; and Scott Quibell has used the &lt;a href=&quot;http://www.analysisuk.com/blog/exit.php?url_id=169&amp;amp;entry_id=33&quot; title=&quot;http://blogs.msdn.com/mswanson/archive/2006/07/23/675914.aspx&quot;  onmouseover=&quot;window.status=&#039;http://blogs.msdn.com/mswanson/archive/2006/07/23/675914.aspx&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;Dell XPS Leds&lt;/a&gt; as a build monitor.&lt;br /&gt;
&lt;br /&gt;
So now for my addition to the world of varied build monitors, what else but a color changing snow man!&lt;br /&gt;
&lt;br /&gt;
A Good build and the snow man is green:&lt;br /&gt;
&lt;img src=&quot;http://www.analysisuk.com/blog/images/BuildOK.jpg&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
Building the Application the snowman goes yellowish (Green+Red):&lt;br /&gt;
&lt;img src=&quot;http://www.analysisuk.com/blog/images/Building.jpg&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
Failing the build the snowman goes red (Dont mess with an angry snowman!):&lt;br /&gt;
&lt;img src=&quot;http://www.analysisuk.com/blog/images/BuildBroken.jpg&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This gives a nice feedback on the build status, doesnt require the addition of mains electric (its USB powered), and doesnt rely on X10 which Ive found to be problematic in a work environment due to mains born noise and its a bit of a weird thing so always good as a conversation point.&lt;br /&gt;
&lt;br /&gt;
The parts required:&lt;br /&gt;
&lt;br /&gt;
A &lt;href=&quot;http://www.google.com/search?q=usb+snowman&quot;&gt;USB SnowMan&lt;/a&gt; about £6.&lt;br /&gt;
&lt;br /&gt;
A &lt;a href=&quot;http://www.analysisuk.com/blog/exit.php?url_id=170&amp;amp;entry_id=33&quot; title=&quot;http://www.pc-control.co.uk/buy_minibee.htm&quot;  onmouseover=&quot;window.status=&#039;http://www.pc-control.co.uk/buy_minibee.htm&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;USB Mini-Bee IO device &lt;/a&gt; or something similar that can source 2x 25mA outputs. (£25)&lt;br /&gt;
&lt;br /&gt;
A small box, &lt;br /&gt;
&lt;br /&gt;
A &lt;a href=&quot;http://www.analysisuk.com/blog/exit.php?url=aHR0cDovL3d3dy5yYXBpZG9ubGluZS5jb20vcHJvZHVjdGluZm8uYXNweD9rdz01Ni0wMzUwJnRpZXIxPUVsZWN0cm9uaWMrQ29tcG9uZW50cyZ0aWVyMj1PcHRvZWxlY3Ryb25pY3MmdGllcjM9NW1tK0xFRHMmdGllcjQ9SGlnaCticmlnaHRuZXNzK3RyaS1jb2xvdXIrNW1tK0xFRCZtb2R1bGVubz03NTE1OCA=&amp;amp;entry_id=33&quot; title=&quot;http://www.rapidonline.com/productinfo.aspx?kw=56-0350&amp;tier1=Electronic+Components&amp;tier2=Optoelectronics&amp;tier3=5mm+LEDs&amp;tier4=High+brightness+tri-colour+5mm+LED&amp;moduleno=75158 &quot;  onmouseover=&quot;window.status=&#039;http://www.rapidonline.com/productinfo.aspx?kw=56-0350&amp;tier1=Electronic+Components&amp;tier2=Optoelectronics&amp;tier3=5mm+LEDs&amp;tier4=High+brightness+tri-colour+5mm+LED&amp;moduleno=75158 &#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;Red+Green 5mm TriColor LED &lt;/a&gt; (£0.25)&lt;br /&gt;
&lt;br /&gt;
Some cable and some glue.&lt;br /&gt;
&lt;br /&gt;
In the next blog posting I will describe construction  (well modification really) of the hardware and the one after that the simple mods to CCTray to kick the snowman into life.&lt;br /&gt;
 
    </content:encoded>

    <pubDate>Mon,  7 May 2007 02:40:29 +0100</pubDate>
    <guid isPermaLink="false">http://www.analysisuk.com/blog/archives/33-guid.html</guid>
    
</item>
<item>
    <title>Pound breaks the 2 Dollar point.</title>
    <link>http://www.analysisuk.com/blog/archives/32-Pound-breaks-the-2-Dollar-point..html</link>
            <category>Exchange Rates</category>
    
    <comments>http://www.analysisuk.com/blog/archives/32-Pound-breaks-the-2-Dollar-point..html#comments</comments>
    <wfw:comment>http://www.analysisuk.com/blog/wfwcomment.php?cid=32</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.analysisuk.com/blog/rss.php?version=2.0&amp;type=comments&amp;cid=32</wfw:commentRss>
    

    <author>nospam@example.com (Stephen Harrison)</author>
    <content:encoded>
    Today the Pound has broken the 2 Dollar exchange rate, this is apparently a 15 year high for the Pound against the US Dollar.&lt;br /&gt;
&lt;br /&gt;
Dont forget if you want to check out the exchange rate on your mobile phone or other mobile devices you can browse to &lt;a href=&quot;http://www.analysisuk.com/blog/exit.php?url_id=162&amp;amp;entry_id=32&quot; title=&quot;http://www.d2p.mobi&quot;  onmouseover=&quot;window.status=&#039;http://www.d2p.mobi&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;D2P.mobi&lt;/a&gt;, Dollars 2 Pounds for your mobile.&lt;br /&gt;
&lt;br /&gt;
Screen shot from &lt;a href=&quot;http://www.analysisuk.com/blog/exit.php?url_id=163&amp;amp;entry_id=32&quot; title=&quot;http://www.Dollars2Pounds.com&quot;  onmouseover=&quot;window.status=&#039;http://www.Dollars2Pounds.com&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;Dollars2Pounds&lt;/a&gt; showing todays rate above the 2 dollar point:&lt;br /&gt;
&lt;br /&gt;
&lt;img src=&quot;http://www.analysisuk.com/blog/images/2DollarPound1.jpg&quot;&gt;&lt;br /&gt;
 
    </content:encoded>

    <pubDate>Wed, 18 Apr 2007 00:41:26 +0100</pubDate>
    <guid isPermaLink="false">http://www.analysisuk.com/blog/archives/32-guid.html</guid>
    
</item>
<item>
    <title>Pound touches 14 year high against US Dollar</title>
    <link>http://www.analysisuk.com/blog/archives/31-Pound-touches-14-year-high-against-US-Dollar.html</link>
            <category>Exchange Rates</category>
    
    <comments>http://www.analysisuk.com/blog/archives/31-Pound-touches-14-year-high-against-US-Dollar.html#comments</comments>
    <wfw:comment>http://www.analysisuk.com/blog/wfwcomment.php?cid=31</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.analysisuk.com/blog/rss.php?version=2.0&amp;type=comments&amp;cid=31</wfw:commentRss>
    

    <author>nospam@example.com (Stephen Harrison)</author>
    <content:encoded>
    The BBC is &lt;a href=&quot;http://www.analysisuk.com/blog/exit.php?url_id=159&amp;amp;entry_id=31&quot; title=&quot;http://news.bbc.co.uk/1/hi/business/6562071.stm&quot;  onmouseover=&quot;window.status=&#039;http://news.bbc.co.uk/1/hi/business/6562071.stm&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;reporting that the Pound reached a 14 year high against the US Dollar during Monday&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
I dont have 14 years worth of data in the &lt;a href=&quot;http://www.analysisuk.com/blog/exit.php?url_id=160&amp;amp;entry_id=31&quot; title=&quot;http://www.Dollars2Pounds.com&quot;  onmouseover=&quot;window.status=&#039;http://www.Dollars2Pounds.com&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;Dollars2Pounds&lt;/a&gt; exchange rate database, but heres a chart of what the last 5 years looks like.&lt;br /&gt;
&lt;br /&gt;
(Apologies for the Y axis label problem, Excel has decided not to allow me to show the full label  I have no idea why, Ive tried allsorts).&lt;br /&gt;
&lt;br /&gt;
&lt;img src=&quot;http://www.analysisuk.com/blog/images/D2P-5Y-20070416.JPG&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
I&#039;m currently working on adding charting to Dollars2Pounds.com, however this is in a big queue with lots of other things I need to be working on so isnt happening as quickly as I would like  its also reliant on me finding a charting package that I like, and Ive not had much luck so far.&lt;br /&gt;
&lt;br /&gt;
If you want to play with a chart in Excel your self you can use &lt;a href=&quot;http://www.analysisuk.com/blog/exit.php?url_id=161&amp;amp;entry_id=31&quot; title=&quot;http://www.dollars2pounds.com/RatesHistory.php&quot;  onmouseover=&quot;window.status=&#039;http://www.dollars2pounds.com/RatesHistory.php&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;Dollars 2 Pounds exchange rate history&lt;/a&gt; page and Excels Web Query.&lt;br /&gt;
&lt;br /&gt;
From Excel select :&lt;br /&gt;
Data -&gt; Import External Data -&gt; New Web Query&lt;br /&gt;
&lt;br /&gt;
In the Window that opens enter the Rates History URL.&lt;br /&gt;
(http://www.dollars2pounds.com/RatesHistory.php?Base=USD&amp;To=GBP&amp;Days=60)&lt;br /&gt;
&lt;br /&gt;
&lt;img src=&quot;http://www.analysisuk.com/blog/images/WebQuery.JPG&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
Select the arrow pointing to the date title of the rates table, it should turn to a tick&lt;br /&gt;
&lt;br /&gt;
&lt;img src=&quot;http://www.analysisuk.com/blog/images/WebQuery2.JPG&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
Click on Import, select where to import the data to in the Import Data window and wait whilst Excel gets the data.&lt;br /&gt;
&lt;br /&gt;
Your spreadsheet should now look something like:&lt;br /&gt;
&lt;br /&gt;
&lt;img src=&quot;http://www.analysisuk.com/blog/images/WebQuery3.JPG&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now, if like me your in the UK, its a great time to buy software, components, domain names and the like from US sources as everythings practically half price!.&lt;br /&gt;
&lt;br /&gt;
Please remember the actual exchange rates you receive from your credit card, money transfer or other currency conversion will differ from the rates published, please check the rate offered by the company converting your currency first and remember that conversions are an approximate indication only and cannot be guaranteed by Analysis UK.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 
    </content:encoded>

    <pubDate>Tue, 17 Apr 2007 03:19:59 +0100</pubDate>
    <guid isPermaLink="false">http://www.analysisuk.com/blog/archives/31-guid.html</guid>
    
</item>
<item>
    <title>Implementing GTD SOP #2 with the help of Dinner Timer Lite.</title>
    <link>http://www.analysisuk.com/blog/archives/30-Implementing-GTD-SOP-2-with-the-help-of-Dinner-Timer-Lite..html</link>
            <category>MicroISV</category>
    
    <comments>http://www.analysisuk.com/blog/archives/30-Implementing-GTD-SOP-2-with-the-help-of-Dinner-Timer-Lite..html#comments</comments>
    <wfw:comment>http://www.analysisuk.com/blog/wfwcomment.php?cid=30</wfw:comment>

    <slash:comments>1</slash:comments>
    <wfw:commentRss>http://www.analysisuk.com/blog/rss.php?version=2.0&amp;type=comments&amp;cid=30</wfw:commentRss>
    

    <author>nospam@example.com (Stephen Harrison)</author>
    <content:encoded>
    Once again Bob has a fantastic suggestion to help us get things done on his &lt;a href=&quot;http://www.analysisuk.com/blog/exit.php?url_id=152&amp;amp;entry_id=30&quot; title=&quot;http://www.ToDoOrElse.com&quot;  onmouseover=&quot;window.status=&#039;http://www.ToDoOrElse.com&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;ToDoOrElse.com blog&lt;/a&gt;, the basics of GTD SOP #2 are that you spend 48 minutes working with an allowance of 12 minutes slack time every hour (although Im hoping this doesnt apply to 24 hours a day  although it sure feels like it sometimes!).&lt;br /&gt;
&lt;br /&gt;
Every now and then I find another use for Dinner Timer Lite.  Today is no exception, with some very simple modifications to the settings Dinner Timer Lite makes a great timer for &lt;a href=&quot;http://www.analysisuk.com/blog/exit.php?url_id=153&amp;amp;entry_id=30&quot; title=&quot;http://www.todoorelse.com/2007/03/gtd_sop2_48_min.html&quot;  onmouseover=&quot;window.status=&#039;http://www.todoorelse.com/2007/03/gtd_sop2_48_min.html&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;GTD SOP #2&lt;/a&gt; (IMHO!) - not to mention that &lt;a href=&quot;http://www.analysisuk.com/blog/exit.php?url_id=154&amp;amp;entry_id=30&quot; title=&quot;http://www.bookswap.ws/Content/findonamazonus-Asin-B0007Q6NI0.html&quot;  onmouseover=&quot;window.status=&#039;http://www.bookswap.ws/Content/findonamazonus-Asin-B0007Q6NI0.html&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;the timer&lt;/a&gt; Bob recommends is out of stock at &lt;a href=&quot;http://www.analysisuk.com/blog/exit.php?url_id=155&amp;amp;entry_id=30&quot; title=&quot;http://www.Amazon.com&quot;  onmouseover=&quot;window.status=&#039;http://www.Amazon.com&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;Amazon.com&lt;/a&gt; as I type this and Dinner Timer Lite is available as a &lt;a href=&quot;http://www.analysisuk.com/blog/exit.php?url_id=156&amp;amp;entry_id=30&quot; title=&quot;http://www.dinnertimer.com/download.aspx&quot;  onmouseover=&quot;window.status=&#039;http://www.dinnertimer.com/download.aspx&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;free download&lt;/a&gt;!&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.analysisuk.com/blog/exit.php?url_id=157&amp;amp;entry_id=30&quot; title=&quot;http://www.DinnerTimer.com&quot;  onmouseover=&quot;window.status=&#039;http://www.DinnerTimer.com&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;Dinner Timer Lite&lt;/a&gt; is a free PC based timer originally intended to help me reduce the number of meals I burnt because I returned to the PC to work and forgot to set the timer in the kitchen or when I did it went off and I kept working thinking I would just do another 30 seconds when it was really 5 minutes extra.&lt;br /&gt;
 &lt;br /&gt;
&lt;h3&gt;Configuring Dinner Timer Lite for GTD SOP #2 &lt;/h3&gt;&lt;br /&gt;
&lt;br /&gt;
From the main menu choose Settings -&gt; Options.&lt;br /&gt;
&lt;br /&gt;
On the General Options tab set the following:&lt;br /&gt;
&lt;br /&gt;
Default timer run time : 60 min.&lt;br /&gt;
End point close warning time : 12 min.&lt;br /&gt;
Over end point first warning time : 4 min. (or as you feel appropriate)&lt;br /&gt;
Secondary over end point warning : 8 min. (again as you feel appropriate)&lt;br /&gt;
Stop all notifiers after end point: 10 min.&lt;br /&gt;
&lt;br /&gt;
&lt;img src=&quot;http://www.analysisuk.com/blog/images/GTDSOP2-1.JPG&quot;/&gt;&lt;br /&gt;
&lt;br /&gt;
That has set up the timer to run for 60 minutes by default, warning me 12 minutes before the hour is up (i.e. 48 minutes after the start), then again warning me at the end of the hour, combined with two possible over run warnings at 4 and 8 minutes in case I keep slacking!  as if that would happen! and a stop at 10 minutes in case I have  wandered away from the PC.&lt;br /&gt;
&lt;br /&gt;
Naturally when you are working you dont want to be clock watching but you might just want to see how long till you get some slack and at the same time its good when your slacking to see how long you have left so lets setup the opacity of the timer.&lt;br /&gt;
&lt;br /&gt;
&lt;img src=&quot;http://www.analysisuk.com/blog/images/GTDSOP2-2.JPG&quot;/&gt;&lt;br /&gt;
&lt;br /&gt;
The settings here are :&lt;br /&gt;
Timer stopped : high visibility.&lt;br /&gt;
Timer running : Low visibility.&lt;br /&gt;
48 Minutes up : good visibility.&lt;br /&gt;
Time up : high visibility.&lt;br /&gt;
Over run slacking : full visibility.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;Getting notified:&lt;/h3&gt;&lt;br /&gt;
&lt;br /&gt;
The current release version of Dinner Timer Lite features 2 styles of notification (future versions have some more notifiers currently being written).&lt;br /&gt;
&lt;br /&gt;
Here are how I have configured Dinner Timer Lite : &lt;br /&gt;
&lt;br /&gt;
Select both bubble and sound notifiers on the notifiers tab.&lt;br /&gt;
&lt;br /&gt;
&lt;img src=&quot;http://www.analysisuk.com/blog/images/GTDSOP2-3.JPG&quot;/&gt;&lt;br /&gt;
&lt;br /&gt;
Click Bubble Notifier then the Edit Settings button to open the options for the bubble notifier.&lt;br /&gt;
&lt;br /&gt;
&lt;img src=&quot;http://www.analysisuk.com/blog/images/GTDSOP2-4.JPG&quot;/&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From the top drop down box work your way through the various options, setting the Action as Run Once or Dont Run where you dont want a bubble to appear.&lt;br /&gt;
&lt;br /&gt;
The text will appear in a bubble pop up from the system tray area when the appropriate event occurs.&lt;br /&gt;
&lt;br /&gt;
Started : &quot;Timer started&quot;&lt;br /&gt;
Stopped : &quot;Timer stopped&quot;&lt;br /&gt;
EndPointClose: &quot;Slack Time, you now have 12 mins slack time to surf and make a cup of Tea!&quot; (This event is the one set to occur 12 minutes before your hour is up).&lt;br /&gt;
&lt;br /&gt;
&lt;img src=&quot;http://www.analysisuk.com/blog/images/GTDSOP2-5.JPG&quot;/&gt;&lt;br /&gt;
&lt;br /&gt;
EndPoint: &quot;Time to get back to work  remember to restart Dinner Time Lite&quot; (occurs when the 60 minutes is up).&lt;br /&gt;
EndPointMissed1: &quot;Stop slacking and get back to work&quot;&lt;br /&gt;
EndPointMissed2: &quot;Thats enough slacking you won&#039;t get anything done&quot;&lt;br /&gt;
&lt;br /&gt;
Naturally you may wish to change the messages for ones that are a little more motivational (or polite)!&lt;br /&gt;
&lt;br /&gt;
Next set up the sound notifiers in a similar way.  I would suggest you use a sound on the start event so you know for sure that the volume is working when you start the timer!&lt;br /&gt;
&lt;br /&gt;
When setting the sounds use the Run Once or Run Twice Action options otherwise the sound will keep going until you stop and that would likely ruin your 12 minutes of slack time!&lt;br /&gt;
&lt;br /&gt;
&lt;img src=&quot;http://www.analysisuk.com/blog/images/GTDSOP2-6.JPG&quot;/&gt;&lt;br /&gt;
&lt;br /&gt;
You can choose your own sounds if you dont like any of the built in ones, they were chosen to get attention. &lt;a href=&quot;http://www.analysisuk.com/blog/exit.php?url_id=158&amp;amp;entry_id=30&quot; title=&quot;http://www.soundrangers.com&quot;  onmouseover=&quot;window.status=&#039;http://www.soundrangers.com&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;Sound Rangers&lt;/a&gt; is a great site to get a variety of sound effects from.&lt;br /&gt;
&lt;br /&gt;
If you dont want sound notification or bubble pop up then unselect that notifier.&lt;br /&gt;
&lt;br /&gt;
NB: sound configuration and notifier selection changes only takes effect when the application is restarted for Version 1.0&lt;br /&gt;
&lt;br /&gt;
Thats it for configuration of Dinner Timer Lite, next lets put it to use.&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;Using Dinner Timer Lite:&lt;/h3&gt;&lt;br /&gt;
&lt;br /&gt;
Returning to the main window we see the 60 min default value in the drop down in the menu strip.  If you want to work longer (or shorter) change the time here, but you will still only get 12 minutes slack time (sorry!)&lt;br /&gt;
&lt;br /&gt;
&lt;img src=&quot;http://www.analysisuk.com/blog/images/GTDSOP2-7.JPG&quot;/&gt;&lt;br /&gt;
&lt;br /&gt;
When you are ready to start working hit the Start button.&lt;br /&gt;
&lt;br /&gt;
&lt;img src=&quot;http://www.analysisuk.com/blog/images/GTDSOP2-8.JPG&quot;/&gt;&lt;br /&gt;
&lt;br /&gt;
The timer updates to show the time remaining, the start and completion times and how long the timer is running for, as well as a progress bar showing oddly enough the progress through the hour.&lt;br /&gt;
&lt;br /&gt;
The timer also updates its transparency to the low visibility state (not shown in the screen shot), clicking on the minimize button sends Dinner Timer Lite to the tray, hover over it to get the time remaining for the hour.  When its slack time we get prompted with a balloon from the system tray and some weird noise from the speakers, then when its time to get back to work more balloons and noises! &lt;br /&gt;
&lt;br /&gt;
When youve finished your slack and are ready to start back remember to hit Stop and then Start again to start the next hour.  And if you were slacking more than you should have been the timer keeps counting past the hour so you know how much work you skipped.&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;Cooking dinner whilst working.&lt;/h3&gt;&lt;br /&gt;
&lt;br /&gt;
Naturally if you are like me and stick some food in the oven and return to the computer to get a bit more work (ok, slack) done then just start up another Dinner Timer Lite and set the timer to run for how long your food needs cooking whilst the other GTD SOP #2 timer is running, however be warned that the settings will now be to warn you 12 minutes before dinner is ready as the settings are global.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;Other uses of Dinner Timer Lite?&lt;/h3&gt;&lt;br /&gt;
If you have found Dinner Timer Lite useful for timing something that you thing others would also benefit from then drop me a line, post a comment or something and I will look to add details about it and see if some simple improvements to Dinner Timer Lite can make it a better product.&lt;br /&gt;
 
    </content:encoded>

    <pubDate>Tue, 17 Apr 2007 01:00:16 +0100</pubDate>
    <guid isPermaLink="false">http://www.analysisuk.com/blog/archives/30-guid.html</guid>
    
</item>
<item>
    <title>Demon regrade fiasco : Day 34</title>
    <link>http://www.analysisuk.com/blog/archives/29-Demon-regrade-fiasco-Day-34.html</link>
    
    <comments>http://www.analysisuk.com/blog/archives/29-Demon-regrade-fiasco-Day-34.html#comments</comments>
    <wfw:comment>http://www.analysisuk.com/blog/wfwcomment.php?cid=29</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.analysisuk.com/blog/rss.php?version=2.0&amp;type=comments&amp;cid=29</wfw:commentRss>
    

    <author>nospam@example.com (Stephen Harrison)</author>
    <content:encoded>
    Today I received a very nice and apologetic letter from Demon in response to my complaint I sent them on Day 16.  The letter basically stated that my comments have been noted and my suggestions will be considered along with a lot of the usual reasoning for the FUP.&lt;br /&gt;
&lt;br /&gt;
One thing that gets me is I still dont see how the implementation that Demon have taken for the FUP will work.  Its measured over 30 days, so month 1 you download everything in site, get all your Amazon unboxed downloads, update your Napster tracks, catch up with the latest updates on C4s broadband download and BBC 2s downloads, Sky by broadband so on and so forth and you can easily go well over the download limit, I get the impression I could just leave the PC on downloading day and night on my 6Meg (should I say, up to 8Meg) connection, then next month you get capped so you spend the month doing little and picking up your email, follow that with the month after then you could hammer the connection again.&lt;br /&gt;
&lt;br /&gt;
Now if I was to do that the FUP would work for every other month but be completely pointless for the high bandwidth months.  Now granted the FUP worked for me and got me onto a more expensive account as Im sure it will have done for a lot of others, but this package is three times the regular package so Im sure lots of people will save their downloads for every other month and rack up high bandwidth usage then, how is that going to help Demons other customers who share the exchange?  I dont think it is.  If it was capped after the FUP limit for the rest of the month that would have a much more helpful impact on the other customers.  Anyway, Im sure it will all sort its self out.&lt;br /&gt;
&lt;br /&gt;
Now just to help matters, not only did It take a total of 17 days from the date I ordered the regrade but had I have been a new customer I would have got a free modem and free installation and it would probably have been done a lot quicker, however because Im a loyal Demon customer I got no modem and a £40 bill for the pleasure  Demon you sure do know how to rub salt into a wound!&lt;br /&gt;
&lt;br /&gt;
OK, now hopefully thats all behind me and I can get on with business and surfing, lets just hope I have no reason to contact customer support!&lt;br /&gt;
 
    </content:encoded>

    <pubDate>Tue, 17 Apr 2007 00:45:17 +0100</pubDate>
    <guid isPermaLink="false">http://www.analysisuk.com/blog/archives/29-guid.html</guid>
    
</item>
<item>
    <title>Demon regrade fiasco : Day 17</title>
    <link>http://www.analysisuk.com/blog/archives/28-Demon-regrade-fiasco-Day-17.html</link>
    
    <comments>http://www.analysisuk.com/blog/archives/28-Demon-regrade-fiasco-Day-17.html#comments</comments>
    <wfw:comment>http://www.analysisuk.com/blog/wfwcomment.php?cid=28</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.analysisuk.com/blog/rss.php?version=2.0&amp;type=comments&amp;cid=28</wfw:commentRss>
    

    <author>nospam@example.com (Stephen Harrison)</author>
    <content:encoded>
    So this morning I again phoned Demon support, initially they claimed I had regarded from Home Office to Business then back to Home Office again, however that got resolved quickly and I was told my account was a Business account, so I guess it was just the dedicated Business broadband support line that was wrong yesterday evening.&lt;br /&gt;
&lt;br /&gt;
This time I was told that the cap would be removed from the account within the next 12 hours, this was at 11am, at 11pm the cap would be lifted for the day anyway so I thought that I wouldnt really not know until the next day, so they might just as well have given me another one of the 24 hours brush offs.&lt;br /&gt;
&lt;br /&gt;
Amazingly enough today the cap appears to have been lifted, I guess I must now be a proper business class customer, few what a relief!!!  &lt;br /&gt;
&lt;br /&gt;
Two other important things happened today as far as Demon go, I send a letter of complaint to their head office and I got a letter from them saying how sorry they were that I was closing my old dial up account, which I moved away from 4-5 years ago! Now thats efficiency!!! (note hint of sarcasm).&lt;br /&gt;
&lt;br /&gt;
The more observant may have noticed that Ive included Saturdays and Sundays in my Day numbers, when Demon tell you a regrade will take 10 days thats 10 working  you have to read the small print, I think this is quite deceptive really 10 doesnt sound to bad, just a bit more than a week but when you think about it really its 2 weeks, 14 REAL days, naturally 10 days sounds better.  &lt;br /&gt;
&lt;br /&gt;
I guess its only fair to say that when I post a book the confirmation email says 1-2 working days, thats because the delivery people dont work Sundays but I do explicitly state working days.&lt;br /&gt;
&lt;br /&gt;
Maybe if you are a business youre probably not to bothered about weekends, but for consumers and people like myself, both a consumer and micro ISV weekends are very important so 14 days (2 weeks) is really the number you have to think off and all of a sudden that sounds a lot longer. (something like 40% longer).  I guess the only time its useful is if you order on a Saturday or Sunday then its actually 12-14 real days, I cant help think being up front and saying 2 weeks would be better.&lt;br /&gt;
&lt;br /&gt;
Now all I have to wonder is why it took 17 (real) days to sort this out when it was just a regrade, the line was already there, from what I can tell BT had their bit nailed in 2-3 days, so that leaves 14 days of pen pushing I guess.  It does make me wonder if I hadnt done anything how long this would have taken to resolve.&lt;br /&gt;
&lt;br /&gt;
I only have a few concerns left, hopeful the cap removal wasnt just a temp thing today and wont reset its self tomorrow, hopefully in 30 days time Demons computer wont automatically decide it doesnt know Im a business customer and recap me/&lt;br /&gt;
&lt;br /&gt;
My biggest concern however is that nothing else will happen to my line that requires Demon customer support to do anything because Im not actually sure they are capable of doing anything to support their customers (or at least in a reasonable efficient manner) and for this reason alone I have to consider Demon unsuitable as a Business broadband provider and inadequate as a home Broadband provider.&lt;br /&gt;
&lt;br /&gt;
Hopefully this will be the last you will hear of me complaining about Demon, if its not then Im likely to need to be in a padded cell as this has just been such a frustrating experience its driven me crazy every day.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 
    </content:encoded>

    <pubDate>Fri, 30 Mar 2007 01:24:03 +0100</pubDate>
    <guid isPermaLink="false">http://www.analysisuk.com/blog/archives/28-guid.html</guid>
    
</item>
<item>
    <title>Demon [Business] Broadband is totally unsuitable for Business and Consumers.</title>
    <link>http://www.analysisuk.com/blog/archives/27-Demon-Business-Broadband-is-totally-unsuitable-for-Business-and-Consumers..html</link>
    
    <comments>http://www.analysisuk.com/blog/archives/27-Demon-Business-Broadband-is-totally-unsuitable-for-Business-and-Consumers..html#comments</comments>
    <wfw:comment>http://www.analysisuk.com/blog/wfwcomment.php?cid=27</wfw:comment>

    <slash:comments>1</slash:comments>
    <wfw:commentRss>http://www.analysisuk.com/blog/rss.php?version=2.0&amp;type=comments&amp;cid=27</wfw:commentRss>
    

    <author>nospam@example.com (Stephen Harrison)</author>
    <content:encoded>
    &lt;strong&gt;The Short version:&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
If you or your business requires a good reliable internet provider Demon are the last people you should consider.  For more than a week now I have been repeatedly fobbed off by their customer support staff who tell me to wait 24-48 hours then my regrade should be sorted but alas I am still stuck with a heavily throttled internet connection. &lt;br /&gt;
&lt;br /&gt;
Often I have reason to believe they (Demon support) have ignored my request for help and just got me off the line by telling me it would be sorted in 24-48 hours.  As far as I can tell little to no action has been taken to resolve my problems by Demon customer support.  Frequently I am told one thing then the next time I call this gets totally contradicted.&lt;br /&gt;
&lt;br /&gt;
Day 1 : Order faxed to Demon at about 2am.&lt;br /&gt;
&lt;br /&gt;
Day 3 : About now the line got upgraded by BT, FUP cap in place.&lt;br /&gt;
&lt;br /&gt;
Day 7 : Received email stating that the regrade was complete.  Not true.&lt;br /&gt;
&lt;br /&gt;
Day 7 : According to a letter from Demon my new FUP cap starts now (19 March) until 19 April.&lt;br /&gt;
&lt;br /&gt;
Day 8 : Contacted support to check the regrade status, told 24-48 hours.&lt;br /&gt;
&lt;br /&gt;
Day 9 : Contacted support to check the regrade status, told 24-48 hours.&lt;br /&gt;
&lt;br /&gt;
Day 11 : Contacted support to check the regrade status, told 24 hours.&lt;br /&gt;
&lt;br /&gt;
Day 12 : Contacted support to check the regrade status, told 24 hours.&lt;br /&gt;
&lt;br /&gt;
Day 13 : Clocks changed at 2am.  FUP cap now stays until 11pm not 10pm as stated by Demon in their communications.&lt;br /&gt;
&lt;br /&gt;
Day 14 : (Monday 26 March) Spoke to a supervisor at Demon customer support who assured me he would have the regrade sorted and the regrade would be done in 24-48 hours, however he failed to email me as requested to confirm this.&lt;br /&gt;
&lt;br /&gt;
Day 15 : Contacted support, told 24 hours and account would be Business account, Informed them of the time change issue effecting the end time of the cap.&lt;br /&gt;
&lt;br /&gt;
Day 16 am: Told regrade completed on Day 15 (27th) and account was now Business Broadband account.&lt;br /&gt;
&lt;br /&gt;
Day 16 pm: FUP cap still in place and told account was Home Office not Business as told in the morning, also told that FUP cap is in place until 11pm and not 10pm as Demon communications state, I guess they make it up as they go along!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;How it started:&lt;/strong&gt;&lt;br /&gt;
My recent problems with Demon started back in January, having just had the x-mas break I had spent quite a bit of time on the internet and had unknowingly exceeded my bandwidth allocation which had recently been introduced by Demon.&lt;br /&gt;
&lt;br /&gt;
The first I realised was when my internet access was giving me 11K download speed instead of the previous 200k+ I had been use to, I contact customer support who were unable to tell me the reason, I initially thought their was a problem with the line, at 10pm this problem went away until the next day, I then again phone Demon customer support who told me that I had exceeded the bandwidth allowance and my line was capped from 9am till 10pm at 128k for a month.  A few days latter I got a letter to tell me that I had exceeded the fair usage policy and my bandwidth would be capped for 30 days.&lt;br /&gt;
&lt;br /&gt;
I naturally enquired how I could check my bandwidth usage, there is no online way to tell, you have to phone demon support and they wil