<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[SoliForum - 3D Printing Community — Green Power Light]]></title>
		<link>https://www.soliforum.com/topic/9515/green-power-light/</link>
		<atom:link href="https://www.soliforum.com/feed/rss/topic/9515/" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Green Power Light.]]></description>
		<lastBuildDate>Wed, 28 Jan 2015 15:53:41 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Green Power Light]]></title>
			<link>https://www.soliforum.com/post/82027/#p82027</link>
			<description><![CDATA[<p>No source was released for the attiny.&nbsp; They are not obligated to do so as it likely was not based on an open source project.</p><br /><p>I confirmed the following codes to control the green light.</p><ul><li><p>Code M100 will command the green light to fade in and out.</p></li><li><p>Code M101 will command the green light to be steady.</p></li></ul><p>I also noticed that the attiny takes a few seconds for the light to respond to the command.&nbsp; Processes the light animation in a loop, and checks the input PRINTING_PIN before processing the animation again.</p>]]></description>
			<author><![CDATA[null@example.com (thatdecade)]]></author>
			<pubDate>Wed, 28 Jan 2015 15:53:41 +0000</pubDate>
			<guid>https://www.soliforum.com/post/82027/#p82027</guid>
		</item>
		<item>
			<title><![CDATA[Re: Green Power Light]]></title>
			<link>https://www.soliforum.com/post/81641/#p81641</link>
			<description><![CDATA[<p>Wasn&#039;t it a tad overkill for them to add an Attiny just for this? Surely it does more, or there was an easier way and they didn&#039;t do it... Did they release the code running on the Attiny as well? It would be nice to know what it does so button functionality could be transferred to another board.</p>]]></description>
			<author><![CDATA[null@example.com (jagowilson)]]></author>
			<pubDate>Mon, 26 Jan 2015 15:33:18 +0000</pubDate>
			<guid>https://www.soliforum.com/post/81641/#p81641</guid>
		</item>
		<item>
			<title><![CDATA[Green Power Light]]></title>
			<link>https://www.soliforum.com/post/81635/#p81635</link>
			<description><![CDATA[<p>I notice that when I print in soliprint that the power lights on my press will fade in and out.&nbsp; Then when I print in RH the glow is steady and unchanging.&nbsp; That leads me to believe that there is an extra serial command that soliprint sends to control the green power lights.&nbsp; For fun, I want to add that command to my RH start script.</p><br /><p>I don&#039;t have my printer in front of me this morning to test, but I found a few clues in the source code.&nbsp; Nothing about lights or LEDs for the Printrboard motherboard, but there is an output pin defined to tell the attiny chip to do something.&nbsp; I seem to remember it mentioned that this attiny chip is a new addition, only for the Press.&nbsp; If the attiny is the controller for the lights, then codes M100 and M101 would seem to control the lights.</p><div class="codebox"><pre><code>#define PRINTING_PIN         PIND4            // OUTPUT tell ATtiny we are printing</code></pre></div><div class="codebox"><pre><code>        case 100: // M100 - set printing status
        {
            digitalWrite(PRINTING_PIN, HIGH);
            SERIAL_ECHOLNPGM(&quot;Print started&quot;);
            break;
        }
        case 101: // M101 - turn off printing status
        {
          digitalWrite(PRINTING_PIN, LOW);
            SERIAL_ECHOLNPGM(&quot;Print ended&quot;);
            break;
        }</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (thatdecade)]]></author>
			<pubDate>Mon, 26 Jan 2015 15:18:44 +0000</pubDate>
			<guid>https://www.soliforum.com/post/81635/#p81635</guid>
		</item>
	</channel>
</rss>
