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

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
	<title>Latest posts from “adafruit industries” board.</title>
	<description>Latest posts from “adafruit industries” board.</description>
	<link>https://forums.adafruit.com/index.php</link>
	<atom:link href="https://forums.adafruit.com/generate_feed.php?content=posts&amp;global=1" rel="self" type="application/rss+xml" />
	<lastBuildDate>Sat, 25 Nov 2017 13:25:11 -0500</lastBuildDate>

	
		<item>
			<dc:creator>McNutt666</dc:creator>
			<pubDate>Sun, 26 Nov 2017 00:57:19 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=8&amp;p=633690#p633690</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=8&amp;p=633690#p633690</link>
			<title>Re: OSMC/OpenELEC on Pigrrl?</title>
			<description><![CDATA[I will try that on my next off day, not sure how well it will work, but fingers crossed.]]></description>
		</item>
	
		<item>
			<dc:creator>adafruit_support_mike</dc:creator>
			<pubDate>Sun, 26 Nov 2017 00:57:16 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=50&amp;p=633689#p633689</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=50&amp;p=633689#p633689</link>
			<title>Re: 7 inch TFT HDMI display</title>
			<description><![CDATA[Those look good, thank you.<br />
<br />
Could you post a shot showing the back of the display, where the flex cable from the display fits into the FPC connector please?]]></description>
		</item>
	
		<item>
			<dc:creator>adafruit_support_mike</dc:creator>
			<pubDate>Sun, 26 Nov 2017 00:55:25 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=50&amp;p=633688#p633688</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=50&amp;p=633688#p633688</link>
			<title>Re: New to Raspberry Pi question about power?</title>
			<description><![CDATA[If you're using the Pi Foundation's 7&quot; display, like this one:<br />
<br />
<!-- m --><a class="postlink" href="https://www.adafruit.com/product/2718">https://www.adafruit.com/product/2718</a><!-- m --><br />
<br />
Yes, you can power it from the RasPi's GPIO header.  The installation instructions show how to do it.<br />
<br />
You probably won't be able to power the speakers from the RasPi though.  Those use a lot of current, and the RasPi's GPIO header can't provide that much.  For those, you'll need an external power supply.]]></description>
		</item>
	
		<item>
			<dc:creator>adafruit_support_mike</dc:creator>
			<pubDate>Sun, 26 Nov 2017 00:51:44 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=50&amp;p=633687#p633687</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=50&amp;p=633687#p633687</link>
			<title>Re: Bad pi zero w</title>
			<description><![CDATA[If you disconnect power from the RasPi and plug a USB cable from a desktop computer into the RasPi's OTG port, do you see the board show up as a USB device?]]></description>
		</item>
	
		<item>
			<dc:creator>adafruit_support_mike</dc:creator>
			<pubDate>Sun, 26 Nov 2017 00:49:57 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=50&amp;p=633686#p633686</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=50&amp;p=633686#p633686</link>
			<title>Re: 3.5 tft raspberry pi LCD Help</title>
			<description><![CDATA[Post the contents of your /boot/config.txt file (between CODE tags please).  We'll see if there's a way to tweak the values there.]]></description>
		</item>
	
		<item>
			<dc:creator>mboeddiker</dc:creator>
			<pubDate>Sun, 26 Nov 2017 00:39:58 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=8&amp;p=633685#p633685</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=8&amp;p=633685#p633685</link>
			<title>Momentary Button to Power on Neopixel and change buttoncycle</title>
			<description><![CDATA[Seeking help on solving this chin scratching problem of how to use one momentary button to turn on power, and be used to also change the buttoncycle case from one neopixel animation to the next. <br />
<br />
My thought is to have something similar to a headlamp, when the momentary button is held down, the power goes on and off, while also when you press the same button it changes from flashing neopixels to a different static neopixel for example. I have been finding some idea of various button presses, hold vs press, but not sure how to use those codes yet. The current code I figured may work by having the first case 0 be blank with no neopixels showing and the battery connected would not use energy, however on the serial viewport it shows the code constantly checking the button state, and the battery eventually does use energy doing this. My goal is have the code not drain the battery constantly checking the button state, and or actually close the circuit somehow. <br />
<dl class="codebox"><dt>Code: <a href="#" onclick="selectCode(this); return false;">Select all</a> | <a href="#" onclick="toggleExpandCodeBox(this); return false;">TOGGLE FULL SIZE</a></dt><dd><code>// Adafruit_NeoMatrix example for single NeoPixel Shield.<br />
// Scrolls 'Howdy' across the matrix in a portrait (vertical) orientation.<br />
<br />
#include &lt;Adafruit_GFX.h&gt;<br />
#include &lt;Adafruit_NeoMatrix.h&gt;<br />
#include &lt;Adafruit_NeoPixel.h&gt;<br />
#ifndef PSTR<br />
#define PSTR // Make Arduino Due happy<br />
#endif<br />
<br />
<br />
<br />
#define PIN 6<br />
<br />
int&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;LEDperiod&nbsp; &nbsp;= 0; <br />
unsigned long prevLEDtime = 0L;<br />
<br />
const int buttonPin&nbsp; = 7&nbsp; ;<br />
<br />
<br />
int buttonState&nbsp; &nbsp; &nbsp; = LOW;<br />
int lastButtonState&nbsp; = LOW;<br />
int debounce_count = 0;<br />
<br />
int&nbsp; pixelState = 0;<br />
<br />
<br />
int val = 0; <br />
int showType = 0;<br />
//changed the bounce check = 10 to 0:<br />
int bounceCheck = 0;<br />
<br />
<br />
<br />
<br />
<br />
byte heart&#91;17&#93;&#91;3&#93;={<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
<br />
};<br />
<br />
<br />
byte heart2&#91;17&#93;&#91;3&#93;={<br />
&nbsp; &nbsp;{<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 2,2,2&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 3,3,3&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 4,4,4 }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 5,5,5&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 6,6,6&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 7,7,7&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 8,8,8&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 9,9,9&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 8,8,8&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 7,7,7&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 6,6,6&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 5,5,5&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 4,4,4&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 3,3,3&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 2,2,2&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
<br />
};<br />
<br />
<br />
byte heart3&#91;17&#93;&#91;3&#93;={<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0 }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
<br />
};<br />
<br />
byte heart4&#91;17&#93;&#91;3&#93;={<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
<br />
};<br />
<br />
byte heart5&#91;17&#93;&#91;3&#93;={<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
<br />
};<br />
byte heart6&#91;17&#93;&#91;3&#93;={<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
<br />
};<br />
<br />
byte heart7&#91;17&#93;&#91;3&#93;={<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
<br />
};<br />
<br />
byte heart8&#91;17&#93;&#91;3&#93;={<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
<br />
};<br />
<br />
byte heart9&#91;17&#93;&#91;3&#93;={<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
<br />
};<br />
<br />
byte heart10&#91;17&#93;&#91;3&#93;={<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
<br />
};<br />
<br />
byte heart11&#91;17&#93;&#91;3&#93;={<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
<br />
};<br />
<br />
byte heart12&#91;17&#93;&#91;3&#93;={<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
<br />
};<br />
<br />
<br />
byte heart13&#91;17&#93;&#91;3&#93;={<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
<br />
};<br />
<br />
byte heart14&#91;17&#93;&#91;3&#93;={<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
<br />
};<br />
<br />
byte heart15&#91;17&#93;&#91;3&#93;={<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
<br />
};<br />
<br />
byte heart16&#91;17&#93;&#91;3&#93;={<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
<br />
};<br />
<br />
byte heart17&#91;17&#93;&#91;3&#93;={<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
<br />
};<br />
<br />
byte heart18&#91;17&#93;&#91;3&#93;={<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
<br />
};<br />
<br />
byte heart19&#91;17&#93;&#91;3&#93;={<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
<br />
};<br />
<br />
byte heart20&#91;17&#93;&#91;3&#93;={<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
<br />
};<br />
<br />
byte heart21&#91;17&#93;&#91;3&#93;={<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
<br />
};<br />
byte heart22&#91;17&#93;&#91;3&#93;={<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
<br />
};<br />
byte heart23&#91;17&#93;&#91;3&#93;={<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
<br />
};<br />
byte heart24&#91;17&#93;&#91;3&#93;={<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
<br />
};<br />
byte heart25&#91;17&#93;&#91;3&#93;={<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 1,1,1&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
&nbsp; {<br />
&nbsp; &nbsp; 0,0,0&nbsp; }<br />
&nbsp; ,<br />
<br />
};<br />
<br />
// MATRIX DECLARATION:<br />
// Parameter 1 = width of NeoPixel matrix<br />
// Parameter 2 = height of matrix<br />
// Parameter 3 = pin number (most are valid)<br />
// Parameter 4 = matrix layout flags, add together as needed:<br />
//&nbsp; &nbsp;NEO_MATRIX_TOP, NEO_MATRIX_BOTTOM, NEO_MATRIX_LEFT, NEO_MATRIX_RIGHT:<br />
//&nbsp; &nbsp; &nbsp;Position of the FIRST LED in the matrix; pick two, e.g.<br />
//&nbsp; &nbsp; &nbsp;NEO_MATRIX_TOP + NEO_MATRIX_LEFT for the top-left corner.<br />
//&nbsp; &nbsp;NEO_MATRIX_ROWS, NEO_MATRIX_COLUMNS: LEDs are arranged in horizontal<br />
//&nbsp; &nbsp; &nbsp;rows or in vertical columns, respectively; pick one or the other.<br />
//&nbsp; &nbsp;NEO_MATRIX_PROGRESSIVE, NEO_MATRIX_ZIGZAG: all rows/columns proceed<br />
//&nbsp; &nbsp; &nbsp;in the same order, or alternate lines reverse direction; pick one.<br />
//&nbsp; &nbsp;See example below for these values in action.<br />
// Parameter 5 = pixel type flags, add together as needed:<br />
//&nbsp; &nbsp;NEO_KHZ800&nbsp; 800 KHz bitstream (most NeoPixel products w/WS2812 LEDs)<br />
//&nbsp; &nbsp;NEO_KHZ400&nbsp; 400 KHz (classic 'v1' (not v2) FLORA pixels, WS2811 drivers)<br />
//&nbsp; &nbsp;NEO_GRB&nbsp; &nbsp; &nbsp;Pixels are wired for GRB bitstream (most NeoPixel products)<br />
//&nbsp; &nbsp;NEO_RGB&nbsp; &nbsp; &nbsp;Pixels are wired for RGB bitstream (v1 FLORA pixels, not v2)<br />
<br />
<br />
// Example for NeoPixel Shield.&nbsp; In this application we'd like to use it<br />
// as a 5x8 tall matrix, with the USB port positioned at the top of the<br />
// Arduino.&nbsp; When held that way, the first pixel is at the top right, and<br />
// lines are arranged in columns, progressive order.&nbsp; The shield uses<br />
// 800 KHz (v2) pixels that expect GRB color data.<br />
Adafruit_NeoMatrix matrix = Adafruit_NeoMatrix(3, 17, PIN,<br />
NEO_MATRIX_TOP&nbsp; &nbsp; + NEO_MATRIX_LEFT +<br />
NEO_MATRIX_COLUMNS + NEO_MATRIX_ZIGZAG,<br />
NEO_GRB&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; + NEO_KHZ800);<br />
<br />
<br />
<br />
<br />
void setup() {<br />
&nbsp; &nbsp;pinMode(buttonPin, INPUT_PULLUP);<br />
<br />
&nbsp; <br />
<br />
&nbsp; <br />
&nbsp; matrix.begin();<br />
&nbsp; matrix.setTextWrap(false);<br />
&nbsp; matrix.setBrightness(50);<br />
<br />
<br />
&nbsp; Serial.begin(9600);<br />
}<br />
<br />
int x&nbsp; &nbsp; = matrix.width();<br />
int pass = 0;<br />
int state = 0;<br />
<br />
<br />
void loop() {<br />
&nbsp; &nbsp; unsigned long t = millis(); <br />
&nbsp; <br />
&nbsp; &nbsp;matrix.fillScreen(0);<br />
&nbsp; <br />
&nbsp; // read the state of the switch into a local variable:<br />
&nbsp;if (buttonState = debounceRead(buttonPin));<br />
&nbsp; Serial.print(&quot;ButtonState: &quot;);<br />
&nbsp; Serial.println(buttonState);<br />
&nbsp; Serial.print(&quot;LastButtonState: &quot;);<br />
&nbsp; Serial.println(lastButtonState);<br />
&nbsp; Serial.print(&quot;showPixels: &quot;);<br />
&nbsp; Serial.println(pixelState);<br />
&nbsp; // compare the buttonState to its previous state<br />
&nbsp; // compare the buttonState to its previous state<br />
<br />
&nbsp;<br />
<br />
<br />
<br />
&nbsp; if ((LOW == buttonState) &amp;&amp; (buttonState != lastButtonState)){<br />
&nbsp; pixelState = (pixelState + 1) % 8;<br />
<br />
&nbsp; }<br />
&nbsp;<br />
lastButtonState = buttonState;}<br />
<br />
byte debounceRead(int pin)<br />
{<br />
&nbsp; uint8_t pinState = digitalRead(pin);<br />
&nbsp; uint32_t timeout = millis();<br />
&nbsp; while (millis() &lt; timeout+1)<br />
&nbsp; {<br />
&nbsp; &nbsp; if (digitalRead(pin) != pinState)<br />
&nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; pinState = digitalRead(buttonPin);<br />
&nbsp; &nbsp; &nbsp;<br />
&nbsp; &nbsp; &nbsp; timeout = millis();<br />
&nbsp; &nbsp;<br />
&nbsp;<br />
&nbsp; }<br />
&nbsp; }<br />
<br />
//loading************************************************************************************************<br />
&nbsp; //START START START START<br />
&nbsp; <br />
&nbsp; //BUTTON 1 SOLID OFF----------------------------------------------------------------<br />
&nbsp; &nbsp;<br />
&nbsp; switch(pixelState)<br />
{<br />
case 0: LEDperiod = 10000000L;<br />
{<br />
<br />
&nbsp; &nbsp; //frame1 <br />
&nbsp; &nbsp; matrix.fillScreen(0);<br />
&nbsp; &nbsp;for(int k=0;k&lt;255;k+=1){//(+10 ADJUSTS SPEED, 10 IS FASTER, 1 IS SLOW)<br />
&nbsp; for(int i=0;i&lt;18;i++){<br />
&nbsp; &nbsp; for(int j=0;j&lt;18; j++){<br />
&nbsp; &nbsp; &nbsp; matrix.setBrightness(0);<br />
&nbsp; &nbsp; &nbsp; if(heart&#91;i&#93;&#91;j&#93;==1)<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; matrix.drawPixel(j, i, matrix.Color(0,0,0));<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp;<br />
&nbsp; &nbsp; }<br />
&nbsp; }<br />
&nbsp; matrix.show();<br />
&nbsp; } <br />
&nbsp; <br />
&nbsp;<br />
&nbsp; &nbsp; }<br />
&nbsp; <br />
break;<br />
}<br />
&nbsp;<br />
<br />
matrix.fillScreen(0);<br />
<br />
&nbsp; <br />
&nbsp; <br />
//BUTTON 2 FLASH--------------------------------------------------------------------------------<br />
<br />
<br />
unsigned long now = millis();<br />
switch(pixelState)<br />
{<br />
case 1: LEDperiod = 10000000L;<br />
{<br />
<br />
&nbsp; &nbsp;for(int k=0;k&lt;255;k+=10){//(+10 ADJUSTS SPEED, 10 IS FASTER, 1 IS SLOW)<br />
&nbsp; for(int i=0;i&lt;18;i++){<br />
&nbsp; &nbsp; for(int j=0;j&lt;18; j++){<br />
&nbsp; &nbsp; &nbsp; matrix.setBrightness(50);<br />
&nbsp; &nbsp; &nbsp; if(heart&#91;i&#93;&#91;j&#93;==0)<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; matrix.drawPixel(j, i, matrix.Color(0,0,0));<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp;<br />
&nbsp; &nbsp; }<br />
&nbsp; }<br />
&nbsp; matrix.show();<br />
<br />
&nbsp; }&nbsp; <br />
&nbsp; &nbsp;<br />
&nbsp; <br />
&nbsp; &nbsp;//HEART 1 FADE OFF <br />
&nbsp; &nbsp; &nbsp;for(int k=0;k&lt;255;k+=10){//(+10 ADJUSTS SPEED, 10 IS FASTER, 1 IS SLOW)<br />
&nbsp; for(int i=0;i&lt;18;i++){<br />
&nbsp; &nbsp; for(int j=0;j&lt;18; j++){<br />
&nbsp; &nbsp; &nbsp; matrix.setBrightness(50);<br />
&nbsp; &nbsp; &nbsp; if(heart&#91;i&#93;&#91;j&#93;==1)<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; matrix.drawPixel(j, i, matrix.Color(255,0,0));<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; }<br />
&nbsp; }<br />
&nbsp; matrix.show();<br />
&nbsp; &nbsp; &nbsp;//DELAY<br />
&nbsp; }<br />
&nbsp; <br />
<br />
&nbsp; &nbsp; }<br />
&nbsp; <br />
break;<br />
}<br />
&nbsp; &nbsp; matrix.fillScreen(0);<br />
&nbsp; &nbsp; <br />
//BUTTON 3 INTERMITTEN FLASH----------------------------------------------------------------<br />
&nbsp; &nbsp;<br />
&nbsp; switch(pixelState)<br />
{<br />
case 2: LEDperiod = 10000000L;<br />
{<br />
<br />
&nbsp; &nbsp; //frame1 <br />
&nbsp; &nbsp; matrix.fillScreen(0);<br />
&nbsp; &nbsp;for(int k=0;k&lt;255;k+=1){//(+10 ADJUSTS SPEED, 10 IS FASTER, 1 IS SLOW)<br />
&nbsp; for(int i=0;i&lt;18;i++){<br />
&nbsp; &nbsp; for(int j=0;j&lt;18; j++){<br />
&nbsp; &nbsp; &nbsp; matrix.setBrightness(50);<br />
&nbsp; &nbsp; &nbsp; if(heart&#91;i&#93;&#91;j&#93;==1)<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; matrix.drawPixel(j, i, matrix.Color(255,0,0));<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp;<br />
&nbsp; &nbsp; }<br />
&nbsp; }<br />
&nbsp; matrix.show();<br />
&nbsp; } <br />
&nbsp; <br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; //frame1 blank <br />
&nbsp; &nbsp; matrix.fillScreen(0);<br />
&nbsp; &nbsp;for(int k=0;k&lt;255;k+=10){//(+10 ADJUSTS SPEED, 10 IS FASTER, 1 IS SLOW)<br />
&nbsp; for(int i=0;i&lt;18;i++){<br />
&nbsp; &nbsp; for(int j=0;j&lt;18; j++){<br />
&nbsp; &nbsp; &nbsp; matrix.setBrightness(50);<br />
&nbsp; &nbsp; &nbsp; if(heart2&#91;i&#93;&#91;j&#93;==0)<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; matrix.drawPixel(j, i, matrix.Color(0,0,0));<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp;<br />
&nbsp; &nbsp; }<br />
&nbsp; }<br />
&nbsp; matrix.show();<br />
&nbsp; } <br />
&nbsp; &nbsp;<br />
&nbsp; <br />
&nbsp; &nbsp; //frame2<br />
&nbsp; &nbsp; matrix.fillScreen(0);<br />
&nbsp; &nbsp;for(int k=0;k&lt;255;k+=15){//(+10 ADJUSTS SPEED, 10 IS FASTER, 1 IS SLOW)<br />
&nbsp; for(int i=0;i&lt;18;i++){<br />
&nbsp; &nbsp; for(int j=0;j&lt;18; j++){<br />
&nbsp; &nbsp; &nbsp; matrix.setBrightness(50);<br />
&nbsp; &nbsp; &nbsp; if(heart&#91;i&#93;&#91;j&#93;==1)<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; matrix.drawPixel(j, i, matrix.Color(255,0,0));<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp;<br />
&nbsp; &nbsp; }<br />
&nbsp; }<br />
&nbsp; matrix.show();<br />
&nbsp; } <br />
&nbsp; <br />
&nbsp; //frame2 blank <br />
&nbsp; &nbsp; matrix.fillScreen(0);<br />
&nbsp; &nbsp;for(int k=0;k&lt;255;k+=10){//(+10 ADJUSTS SPEED, 10 IS FASTER, 1 IS SLOW)<br />
&nbsp; for(int i=0;i&lt;18;i++){<br />
&nbsp; &nbsp; for(int j=0;j&lt;18; j++){<br />
&nbsp; &nbsp; &nbsp; matrix.setBrightness(50);<br />
&nbsp; &nbsp; &nbsp; if(heart&#91;i&#93;&#91;j&#93;==0)<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; matrix.drawPixel(j, i, matrix.Color(0,0,0));<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp;<br />
&nbsp; &nbsp; }<br />
&nbsp; }<br />
&nbsp; matrix.show();<br />
&nbsp; } <br />
&nbsp;//frame3<br />
&nbsp; &nbsp; matrix.fillScreen(0);<br />
&nbsp; &nbsp;for(int k=0;k&lt;255;k+=15){//(+10 ADJUSTS SPEED, 10 IS FASTER, 1 IS SLOW)<br />
&nbsp; for(int i=0;i&lt;18;i++){<br />
&nbsp; &nbsp; for(int j=0;j&lt;18; j++){<br />
&nbsp; &nbsp; &nbsp; matrix.setBrightness(50);<br />
&nbsp; &nbsp; &nbsp; if(heart&#91;i&#93;&#91;j&#93;==1)<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; matrix.drawPixel(j, i, matrix.Color(255,0,0));<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp;<br />
&nbsp; &nbsp; }<br />
&nbsp; }<br />
&nbsp; matrix.show();<br />
&nbsp; } <br />
&nbsp; //frame2 blank <br />
&nbsp; &nbsp; matrix.fillScreen(0);<br />
&nbsp; &nbsp;for(int k=0;k&lt;255;k+=10){//(+10 ADJUSTS SPEED, 10 IS FASTER, 1 IS SLOW)<br />
&nbsp; for(int i=0;i&lt;18;i++){<br />
&nbsp; &nbsp; for(int j=0;j&lt;18; j++){<br />
&nbsp; &nbsp; &nbsp; matrix.setBrightness(50);<br />
&nbsp; &nbsp; &nbsp; if(heart&#91;i&#93;&#91;j&#93;==0)<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; matrix.drawPixel(j, i, matrix.Color(0,0,0));<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp;<br />
&nbsp; &nbsp; }<br />
&nbsp; }<br />
&nbsp; matrix.show();<br />
&nbsp; } <br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
&nbsp; &nbsp; }<br />
&nbsp; <br />
break;<br />
}<br />
&nbsp; <br />
&nbsp; <br />
&nbsp; <br />
&nbsp; <br />
<br />
<br />
matrix.fillScreen(0);<br />
<br />
<br />
//----------------------------------------------------------------<br />
//Button 4 PULSE LEFT AND RIGHT TO CENTER<br />
<br />
<br />
&nbsp; &nbsp; switch(pixelState)<br />
{<br />
case 3: LEDperiod = 10000000L;<br />
{<br />
&nbsp;matrix.fillScreen(0);<br />
&nbsp; &nbsp;for(int k=0;k&lt;255;k+=13){//(+10 ADJUSTS SPEED, 10 IS FASTER, 1 IS SLOW)<br />
&nbsp; for(int i=0;i&lt;18;i++){<br />
&nbsp; &nbsp; for(int j=0;j&lt;18; j++){<br />
&nbsp; &nbsp; &nbsp; matrix.setBrightness(50);<br />
&nbsp; &nbsp; &nbsp; if(heart2&#91;i&#93;&#91;j&#93;==1)<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; matrix.drawPixel(j, i, matrix.Color(255,0,0));<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp;<br />
&nbsp; &nbsp; }<br />
&nbsp; }<br />
&nbsp; matrix.show();<br />
&nbsp; }&nbsp; <br />
&nbsp; &nbsp;<br />
&nbsp;<br />
&nbsp; &nbsp;//FRAME 2<br />
&nbsp; &nbsp; matrix.fillScreen(0);<br />
&nbsp; &nbsp; &nbsp;for(int k=0;k&lt;255;k+=13){//(+10 ADJUSTS SPEED, 10 IS FASTER, 1 IS SLOW)<br />
&nbsp; for(int i=0;i&lt;18;i++){<br />
&nbsp; &nbsp; for(int j=0;j&lt;18; j++){<br />
&nbsp; &nbsp; &nbsp; matrix.setBrightness(50);<br />
&nbsp; &nbsp; &nbsp; if(heart2&#91;i&#93;&#91;j&#93;==2)<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; matrix.drawPixel(j, i, matrix.Color(255,0,0));<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; }<br />
&nbsp; }<br />
&nbsp; matrix.show();<br />
&nbsp; }<br />
&nbsp; <br />
&nbsp; <br />
&nbsp;<br />
&nbsp; <br />
&nbsp; //FRAME 3<br />
&nbsp; &nbsp;matrix.fillScreen(0);<br />
&nbsp; &nbsp; &nbsp; &nbsp;for(int k=0;k&lt;255;k+=13){//(+10 ADJUSTS SPEED, 10 IS FASTER, 1 IS SLOW)<br />
&nbsp; for(int i=0;i&lt;18;i++){<br />
&nbsp; &nbsp; for(int j=0;j&lt;18; j++){<br />
&nbsp; &nbsp; &nbsp; matrix.setBrightness(50);<br />
&nbsp; &nbsp; &nbsp; if(heart2&#91;i&#93;&#91;j&#93;==3)<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; matrix.drawPixel(j, i, matrix.Color(255,0,0));<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; }<br />
&nbsp; }<br />
&nbsp; matrix.show();<br />
&nbsp; }<br />
&nbsp; <br />
&nbsp; <br />
&nbsp; &nbsp; //FRAME 4<br />
&nbsp; &nbsp; matrix.fillScreen(0);<br />
&nbsp; &nbsp; &nbsp; &nbsp;for(int k=0;k&lt;255;k+=13){//(+10 ADJUSTS SPEED, 10 IS FASTER, 1 IS SLOW)<br />
&nbsp; for(int i=0;i&lt;18;i++){<br />
&nbsp; &nbsp; for(int j=0;j&lt;18; j++){<br />
&nbsp; &nbsp; &nbsp; matrix.setBrightness(50);<br />
&nbsp; &nbsp; &nbsp; if(heart2&#91;i&#93;&#91;j&#93;==4)<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; matrix.drawPixel(j, i, matrix.Color(255,0,0));<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; }<br />
&nbsp; }<br />
&nbsp; matrix.show();<br />
&nbsp; }<br />
&nbsp; <br />
&nbsp; <br />
&nbsp; &nbsp; //FRAME 5<br />
&nbsp; &nbsp; matrix.fillScreen(0);<br />
&nbsp; &nbsp; &nbsp; &nbsp;for(int k=0;k&lt;255;k+=13){//(+10 ADJUSTS SPEED, 10 IS FASTER, 1 IS SLOW)<br />
&nbsp; for(int i=0;i&lt;18;i++){<br />
&nbsp; &nbsp; for(int j=0;j&lt;18; j++){<br />
&nbsp; &nbsp; &nbsp; matrix.setBrightness(50);<br />
&nbsp; &nbsp; &nbsp; if(heart2&#91;i&#93;&#91;j&#93;==5)<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; matrix.drawPixel(j, i, matrix.Color(255,0,0));<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; }<br />
&nbsp; }<br />
&nbsp; matrix.show();<br />
&nbsp; }<br />
&nbsp; <br />
&nbsp; &nbsp; //FRAME 6<br />
&nbsp; &nbsp; matrix.fillScreen(0);<br />
&nbsp; &nbsp; &nbsp; &nbsp;for(int k=0;k&lt;255;k+=13){//(+10 ADJUSTS SPEED, 10 IS FASTER, 1 IS SLOW)<br />
&nbsp; for(int i=0;i&lt;18;i++){<br />
&nbsp; &nbsp; for(int j=0;j&lt;18; j++){<br />
&nbsp; &nbsp; &nbsp; matrix.setBrightness(50);<br />
&nbsp; &nbsp; &nbsp; if(heart2&#91;i&#93;&#91;j&#93;==6)<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; matrix.drawPixel(j, i, matrix.Color(255,0,0));<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; }<br />
&nbsp; }<br />
&nbsp; matrix.show();<br />
&nbsp; }<br />
&nbsp; <br />
&nbsp; &nbsp; //FRAME 7<br />
&nbsp; &nbsp; matrix.fillScreen(0);<br />
&nbsp; &nbsp; &nbsp; &nbsp;for(int k=0;k&lt;255;k+=13){//(+10 ADJUSTS SPEED, 10 IS FASTER, 1 IS SLOW)<br />
&nbsp; for(int i=0;i&lt;18;i++){<br />
&nbsp; &nbsp; for(int j=0;j&lt;18; j++){<br />
&nbsp; &nbsp; &nbsp; matrix.setBrightness(50);<br />
&nbsp; &nbsp; &nbsp; if(heart2&#91;i&#93;&#91;j&#93;==7)<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; matrix.drawPixel(j, i, matrix.Color(255,0,0));<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; }<br />
&nbsp; }<br />
&nbsp; matrix.show();<br />
&nbsp; }<br />
&nbsp; <br />
&nbsp; &nbsp; //FRAME 8<br />
&nbsp; &nbsp; matrix.fillScreen(0);<br />
&nbsp; &nbsp; &nbsp; &nbsp;for(int k=0;k&lt;255;k+=13){//(+10 ADJUSTS SPEED, 10 IS FASTER, 1 IS SLOW)<br />
&nbsp; for(int i=0;i&lt;18;i++){<br />
&nbsp; &nbsp; for(int j=0;j&lt;18; j++){<br />
&nbsp; &nbsp; &nbsp; matrix.setBrightness(50);<br />
&nbsp; &nbsp; &nbsp; if(heart2&#91;i&#93;&#91;j&#93;==8)<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; matrix.drawPixel(j, i, matrix.Color(255,0,0));<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; }<br />
&nbsp; }<br />
&nbsp; matrix.show();<br />
&nbsp; }<br />
&nbsp; <br />
&nbsp; &nbsp; //FRAME 9<br />
&nbsp; &nbsp; matrix.fillScreen(0);<br />
&nbsp; &nbsp; &nbsp; &nbsp;for(int k=0;k&lt;255;k+=13){//(+10 ADJUSTS SPEED, 10 IS FASTER, 1 IS SLOW)<br />
&nbsp; for(int i=0;i&lt;18;i++){<br />
&nbsp; &nbsp; for(int j=0;j&lt;18; j++){<br />
&nbsp; &nbsp; &nbsp; matrix.setBrightness(50);<br />
&nbsp; &nbsp; &nbsp; if(heart2&#91;i&#93;&#91;j&#93;==9)<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; matrix.drawPixel(j, i, matrix.Color(255,0,0));<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; }<br />
&nbsp; }<br />
&nbsp; matrix.show();<br />
&nbsp; }<br />
&nbsp; <br />
&nbsp; &nbsp; //FRAME 10<br />
&nbsp; &nbsp; matrix.fillScreen(0);<br />
&nbsp; &nbsp; &nbsp; &nbsp;for(int k=0;k&lt;255;k+=1){//(+10 ADJUSTS SPEED, 10 IS FASTER, 1 IS SLOW)<br />
&nbsp; for(int i=0;i&lt;18;i++){<br />
&nbsp; &nbsp; for(int j=0;j&lt;18; j++){<br />
&nbsp; &nbsp; &nbsp; matrix.setBrightness(50);<br />
&nbsp; &nbsp; &nbsp; if(heart2&#91;i&#93;&#91;j&#93;==0)<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; matrix.drawPixel(j, i, matrix.Color(0,0,0));<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; }<br />
&nbsp; }<br />
&nbsp; matrix.show();<br />
&nbsp; }<br />
&nbsp; <br />
&nbsp; <br />
&nbsp; <br />
//----<br />
<br />
&nbsp; &nbsp; }<br />
&nbsp; <br />
break;<br />
}<br />
&nbsp; <br />
<br />
<br />
matrix.fillScreen(0);<br />
<br />
//----------------------------------------------------------------------------------------<br />
&nbsp; &nbsp; //Button 5 WIDE SHORT FLASH<br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; switch(pixelState)<br />
{<br />
case 4: LEDperiod = 10000000L;<br />
{<br />
&nbsp;matrix.fillScreen(0);<br />
&nbsp; &nbsp;for(int k=0;k&lt;255;k+=15){//(+10 ADJUSTS SPEED, 10 IS FASTER, 1 IS SLOW)<br />
&nbsp; for(int i=0;i&lt;18;i++){<br />
&nbsp; &nbsp; for(int j=0;j&lt;18; j++){<br />
&nbsp; &nbsp; &nbsp; matrix.setBrightness(50);<br />
&nbsp; &nbsp; &nbsp; if(heart&#91;i&#93;&#91;j&#93;==1)<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; matrix.drawPixel(j, i, matrix.Color(255,0,0));<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp;<br />
&nbsp; &nbsp; }<br />
&nbsp; }<br />
&nbsp; matrix.show();<br />
&nbsp; }&nbsp; <br />
&nbsp; &nbsp;<br />
&nbsp; &nbsp;//frame2 blank<br />
&nbsp; &nbsp; matrix.fillScreen(0);<br />
&nbsp; &nbsp;for(int k=0;k&lt;255;k+=7){//(+10 ADJUSTS SPEED, 10 IS FASTER, 1 IS SLOW)<br />
&nbsp; for(int i=0;i&lt;18;i++){<br />
&nbsp; &nbsp; for(int j=0;j&lt;18; j++){<br />
&nbsp; &nbsp; &nbsp; matrix.setBrightness(50);<br />
&nbsp; &nbsp; &nbsp; if(heart2&#91;i&#93;&#91;j&#93;==0)<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; matrix.drawPixel(j, i, matrix.Color(0,0,0));<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp;<br />
&nbsp; &nbsp; }<br />
&nbsp; }<br />
&nbsp; matrix.show();<br />
&nbsp; }&nbsp; <br />
&nbsp; <br />
&nbsp; <br />
&nbsp;<br />
&nbsp; &nbsp;//FRAME 2 ON<br />
&nbsp; &nbsp; matrix.fillScreen(0);<br />
&nbsp; &nbsp; &nbsp;for(int k=0;k&lt;255;k+=15){//(+10 ADJUSTS SPEED, 10 IS FASTER, 1 IS SLOW)<br />
&nbsp; for(int i=0;i&lt;18;i++){<br />
&nbsp; &nbsp; for(int j=0;j&lt;18; j++){<br />
&nbsp; &nbsp; &nbsp; matrix.setBrightness(50);<br />
&nbsp; &nbsp; &nbsp; if(heart18&#91;i&#93;&#91;j&#93;==1)<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; matrix.drawPixel(j, i, matrix.Color(255,0,0));<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; }<br />
&nbsp; }<br />
&nbsp; matrix.show();<br />
&nbsp; }<br />
<br />
<br />
&nbsp; &nbsp;//frame3 blank<br />
&nbsp; &nbsp; matrix.fillScreen(0);<br />
&nbsp; &nbsp;for(int k=0;k&lt;255;k+=7){//(+10 ADJUSTS SPEED, 10 IS FASTER, 1 IS SLOW)<br />
&nbsp; for(int i=0;i&lt;18;i++){<br />
&nbsp; &nbsp; for(int j=0;j&lt;18; j++){<br />
&nbsp; &nbsp; &nbsp; matrix.setBrightness(50);<br />
&nbsp; &nbsp; &nbsp; if(heart2&#91;i&#93;&#91;j&#93;==0)<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; matrix.drawPixel(j, i, matrix.Color(0,0,0));<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp;<br />
&nbsp; &nbsp; }<br />
&nbsp; }<br />
&nbsp; matrix.show();<br />
&nbsp; }&nbsp; <br />
&nbsp; <br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp;//FRAME 3 ON<br />
&nbsp; &nbsp; matrix.fillScreen(0);<br />
&nbsp; &nbsp; &nbsp;for(int k=0;k&lt;255;k+=15){//(+10 ADJUSTS SPEED, 10 IS FASTER, 1 IS SLOW)<br />
&nbsp; for(int i=0;i&lt;18;i++){<br />
&nbsp; &nbsp; for(int j=0;j&lt;18; j++){<br />
&nbsp; &nbsp; &nbsp; matrix.setBrightness(50);<br />
&nbsp; &nbsp; &nbsp; if(heart19&#91;i&#93;&#91;j&#93;==1)<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; matrix.drawPixel(j, i, matrix.Color(255,0,0));<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; }<br />
&nbsp; }<br />
&nbsp; matrix.show();<br />
&nbsp; }<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp;//frame4 blank<br />
&nbsp; &nbsp; matrix.fillScreen(0);<br />
&nbsp; &nbsp;for(int k=0;k&lt;255;k+=7){//(+10 ADJUSTS SPEED, 10 IS FASTER, 1 IS SLOW)<br />
&nbsp; for(int i=0;i&lt;18;i++){<br />
&nbsp; &nbsp; for(int j=0;j&lt;18; j++){<br />
&nbsp; &nbsp; &nbsp; matrix.setBrightness(50);<br />
&nbsp; &nbsp; &nbsp; if(heart2&#91;i&#93;&#91;j&#93;==0)<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; matrix.drawPixel(j, i, matrix.Color(0,0,0));<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp;<br />
&nbsp; &nbsp; }<br />
&nbsp; }<br />
&nbsp; matrix.show();<br />
&nbsp; }&nbsp; <br />
&nbsp; <br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp;//FRAME 4 ON<br />
&nbsp; &nbsp; matrix.fillScreen(0);<br />
&nbsp; &nbsp; &nbsp;for(int k=0;k&lt;255;k+=15){//(+10 ADJUSTS SPEED, 10 IS FASTER, 1 IS SLOW)<br />
&nbsp; for(int i=0;i&lt;18;i++){<br />
&nbsp; &nbsp; for(int j=0;j&lt;18; j++){<br />
&nbsp; &nbsp; &nbsp; matrix.setBrightness(50);<br />
&nbsp; &nbsp; &nbsp; if(heart20&#91;i&#93;&#91;j&#93;==1)<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; matrix.drawPixel(j, i, matrix.Color(255,0,0));<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; }<br />
&nbsp; }<br />
&nbsp; matrix.show();<br />
&nbsp; }<br />
&nbsp; <br />
&nbsp; &nbsp;//frame5 blank<br />
&nbsp; &nbsp; matrix.fillScreen(0);<br />
&nbsp; &nbsp;for(int k=0;k&lt;255;k+=7){//(+10 ADJUSTS SPEED, 10 IS FASTER, 1 IS SLOW)<br />
&nbsp; for(int i=0;i&lt;18;i++){<br />
&nbsp; &nbsp; for(int j=0;j&lt;18; j++){<br />
&nbsp; &nbsp; &nbsp; matrix.setBrightness(50);<br />
&nbsp; &nbsp; &nbsp; if(heart2&#91;i&#93;&#91;j&#93;==0)<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; matrix.drawPixel(j, i, matrix.Color(0,0,0));<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp;<br />
&nbsp; &nbsp; }<br />
&nbsp; }<br />
&nbsp; matrix.show();<br />
&nbsp; }&nbsp; <br />
&nbsp; <br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp;//FRAME 5 ON<br />
&nbsp; &nbsp; matrix.fillScreen(0);<br />
&nbsp; &nbsp; &nbsp;for(int k=0;k&lt;255;k+=15){//(+10 ADJUSTS SPEED, 10 IS FASTER, 1 IS SLOW)<br />
&nbsp; for(int i=0;i&lt;18;i++){<br />
&nbsp; &nbsp; for(int j=0;j&lt;18; j++){<br />
&nbsp; &nbsp; &nbsp; matrix.setBrightness(50);<br />
&nbsp; &nbsp; &nbsp; if(heart21&#91;i&#93;&#91;j&#93;==1)<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; matrix.drawPixel(j, i, matrix.Color(255,0,0));<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp;<br />
&nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; }<br />
&nbsp; }<br />
&nbsp; matrix.show();<br />
&nbsp; }<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp;//frame6 blank<br />
&nbsp; &nbsp; matrix.fillScreen(0);<br />
&nbsp; &nbsp;for(int k=0;k&lt;255;k+=7){//(+10 ADJUSTS SPEED, 10 IS FASTER, 1 IS SLOW)<br />
&nbsp; for(int i=0;i&lt;18;i++){<br />
&nbsp; &nbsp; for(int j=0;j&lt;18; j++){<br />
&nbsp; &nbsp; &nbsp; matrix.setBrightness(50);<br />
&nbsp; &nbsp; &nbsp; if(heart2&#91;i&#93;&#91;j&#93;==0)<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; matrix.drawPixel(j, i, matrix.Color(0,0,0));<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp;<br />
&nbsp; &nbsp; }<br />
&nbsp; }<br />
&nbsp; matrix.show();<br />
&nbsp; }&nbsp; <br />
&nbsp; <br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp;//FRAME 6 ON<br />
&nbsp; &nbsp; matrix.fillScreen(0);<br />
&nbsp; &nbsp; &nbsp;for(int k=0;k&lt;255;k+=15){//(+10 ADJUSTS SPEED, 10 IS FASTER, 1 IS SLOW)<br />
&nbsp; for(int i=0;i&lt;18;i++){<br />
&nbsp; &nbsp; for(int j=0;j&lt;18; j++){<br />
&nbsp; &nbsp; &nbsp; matrix.setBrightness(50);<br />
&nbsp; &nbsp; &nbsp; if(heart22&#91;i&#93;&#91;j&#93;==1)<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; matrix.drawPixel(j, i, matrix.Color(255,0,0));<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp;<br />
&nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; }<br />
&nbsp; }<br />
&nbsp; matrix.show();<br />
&nbsp; }<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp;//frame7 blank<br />
&nbsp; &nbsp; matrix.fillScreen(0);<br />
&nbsp; &nbsp;for(int k=0;k&lt;255;k+=7){//(+10 ADJUSTS SPEED, 10 IS FASTER, 1 IS SLOW)<br />
&nbsp; for(int i=0;i&lt;18;i++){<br />
&nbsp; &nbsp; for(int j=0;j&lt;18; j++){<br />
&nbsp; &nbsp; &nbsp; matrix.setBrightness(50);<br />
&nbsp; &nbsp; &nbsp; if(heart2&#91;i&#93;&#91;j&#93;==0)<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; matrix.drawPixel(j, i, matrix.Color(0,0,0));<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp;<br />
&nbsp; &nbsp; }<br />
&nbsp; }<br />
&nbsp; matrix.show();<br />
&nbsp; }&nbsp; <br />
&nbsp; <br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp;//FRAME 7 ON<br />
&nbsp; &nbsp; matrix.fillScreen(0);<br />
&nbsp; &nbsp; &nbsp;for(int k=0;k&lt;255;k+=15){//(+10 ADJUSTS SPEED, 10 IS FASTER, 1 IS SLOW)<br />
&nbsp; for(int i=0;i&lt;18;i++){<br />
&nbsp; &nbsp; for(int j=0;j&lt;18; j++){<br />
&nbsp; &nbsp; &nbsp; matrix.setBrightness(50);<br />
&nbsp; &nbsp; &nbsp; if(heart23&#91;i&#93;&#91;j&#93;==1)<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; matrix.drawPixel(j, i, matrix.Color(255,0,0));<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; }<br />
&nbsp; }<br />
&nbsp; matrix.show();<br />
&nbsp; }<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;//frame8 blank<br />
&nbsp; &nbsp; matrix.fillScreen(0);<br />
&nbsp; &nbsp;for(int k=0;k&lt;255;k+=7){//(+10 ADJUSTS SPEED, 10 IS FASTER, 1 IS SLOW)<br />
&nbsp; for(int i=0;i&lt;18;i++){<br />
&nbsp; &nbsp; for(int j=0;j&lt;18; j++){<br />
&nbsp; &nbsp; &nbsp; matrix.setBrightness(50);<br />
&nbsp; &nbsp; &nbsp; if(heart2&#91;i&#93;&#91;j&#93;==0)<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; matrix.drawPixel(j, i, matrix.Color(0,0,0));<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp;<br />
&nbsp; &nbsp; }<br />
&nbsp; }<br />
&nbsp; matrix.show();<br />
&nbsp; }&nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp;//FRAME 7 ON<br />
&nbsp; &nbsp; matrix.fillScreen(0);<br />
&nbsp; &nbsp; &nbsp;for(int k=0;k&lt;255;k+=15){//(+10 ADJUSTS SPEED, 10 IS FASTER, 1 IS SLOW)<br />
&nbsp; for(int i=0;i&lt;18;i++){<br />
&nbsp; &nbsp; for(int j=0;j&lt;18; j++){<br />
&nbsp; &nbsp; &nbsp; matrix.setBrightness(50);<br />
&nbsp; &nbsp; &nbsp; if(heart24&#91;i&#93;&#91;j&#93;==1)<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; matrix.drawPixel(j, i, matrix.Color(255,0,0));<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; }<br />
&nbsp; }<br />
&nbsp; matrix.show();<br />
&nbsp; }<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;//frame8 blank<br />
&nbsp; &nbsp; matrix.fillScreen(0);<br />
&nbsp; &nbsp;for(int k=0;k&lt;255;k+=7){//(+10 ADJUSTS SPEED, 10 IS FASTER, 1 IS SLOW)<br />
&nbsp; for(int i=0;i&lt;18;i++){<br />
&nbsp; &nbsp; for(int j=0;j&lt;18; j++){<br />
&nbsp; &nbsp; &nbsp; matrix.setBrightness(50);<br />
&nbsp; &nbsp; &nbsp; if(heart2&#91;i&#93;&#91;j&#93;==0)<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; matrix.drawPixel(j, i, matrix.Color(0,0,0));<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp;<br />
&nbsp; &nbsp; }<br />
&nbsp; }<br />
&nbsp; matrix.show();<br />
&nbsp; }&nbsp; &nbsp; &nbsp; //FRAME 7 ON<br />
&nbsp; &nbsp; matrix.fillScreen(0);<br />
&nbsp; &nbsp; &nbsp;for(int k=0;k&lt;255;k+=15){//(+10 ADJUSTS SPEED, 10 IS FASTER, 1 IS SLOW)<br />
&nbsp; for(int i=0;i&lt;18;i++){<br />
&nbsp; &nbsp; for(int j=0;j&lt;18; j++){<br />
&nbsp; &nbsp; &nbsp; matrix.setBrightness(50);<br />
&nbsp; &nbsp; &nbsp; if(heart25&#91;i&#93;&#91;j&#93;==1)<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; matrix.drawPixel(j, i, matrix.Color(255,0,0));<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; }<br />
&nbsp; }<br />
&nbsp; matrix.show();<br />
&nbsp; }<br />
&nbsp; <br />
&nbsp; &nbsp;//blank<br />
&nbsp; &nbsp; matrix.fillScreen(0);<br />
&nbsp; &nbsp; &nbsp;for(int k=0;k&lt;255;k+=7){//(+10 ADJUSTS SPEED, 10 IS FASTER, 1 IS SLOW)<br />
&nbsp; for(int i=0;i&lt;18;i++){<br />
&nbsp; &nbsp; for(int j=0;j&lt;18; j++){<br />
&nbsp; &nbsp; &nbsp; matrix.setBrightness(50);<br />
&nbsp; &nbsp; &nbsp; if(heart2&#91;i&#93;&#91;j&#93;==0)<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; matrix.drawPixel(j, i, matrix.Color(0,0,0));<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; }<br />
&nbsp; }<br />
&nbsp; matrix.show();<br />
&nbsp; }<br />
&nbsp; &nbsp;//FRAME 7 ON<br />
&nbsp; &nbsp; matrix.fillScreen(0);<br />
&nbsp; &nbsp; &nbsp;for(int k=0;k&lt;255;k+=15){//(+10 ADJUSTS SPEED, 10 IS FASTER, 1 IS SLOW)<br />
&nbsp; for(int i=0;i&lt;18;i++){<br />
&nbsp; &nbsp; for(int j=0;j&lt;18; j++){<br />
&nbsp; &nbsp; &nbsp; matrix.setBrightness(50);<br />
&nbsp; &nbsp; &nbsp; if(heart24&#91;i&#93;&#91;j&#93;==1)<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; matrix.drawPixel(j, i, matrix.Color(255,0,0));<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; }<br />
&nbsp; }<br />
&nbsp; matrix.show();<br />
&nbsp; }<br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp;//blank<br />
&nbsp; &nbsp; matrix.fillScreen(0);<br />
&nbsp; &nbsp; &nbsp;for(int k=0;k&lt;255;k+=7){//(+10 ADJUSTS SPEED, 10 IS FASTER, 1 IS SLOW)<br />
&nbsp; for(int i=0;i&lt;18;i++){<br />
&nbsp; &nbsp; for(int j=0;j&lt;18; j++){<br />
&nbsp; &nbsp; &nbsp; matrix.setBrightness(50);<br />
&nbsp; &nbsp; &nbsp; if(heart2&#91;i&#93;&#91;j&#93;==0)<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; matrix.drawPixel(j, i, matrix.Color(0,0,0));<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; }<br />
&nbsp; }<br />
&nbsp; matrix.show();<br />
&nbsp; }<br />
&nbsp; &nbsp;//FRAME 7 ON<br />
&nbsp; &nbsp; matrix.fillScreen(0);<br />
&nbsp; &nbsp; &nbsp;for(int k=0;k&lt;255;k+=15){//(+10 ADJUSTS SPEED, 10 IS FASTER, 1 IS SLOW)<br />
&nbsp; for(int i=0;i&lt;18;i++){<br />
&nbsp; &nbsp; for(int j=0;j&lt;18; j++){<br />
&nbsp; &nbsp; &nbsp; matrix.setBrightness(50);<br />
&nbsp; &nbsp; &nbsp; if(heart23&#91;i&#93;&#91;j&#93;==1)<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; matrix.drawPixel(j, i, matrix.Color(255,0,0));<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; }<br />
&nbsp; }<br />
&nbsp; matrix.show();<br />
&nbsp; }<br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp;//blank<br />
&nbsp; &nbsp; matrix.fillScreen(0);<br />
&nbsp; &nbsp; &nbsp;for(int k=0;k&lt;255;k+=7){//(+10 ADJUSTS SPEED, 10 IS FASTER, 1 IS SLOW)<br />
&nbsp; for(int i=0;i&lt;18;i++){<br />
&nbsp; &nbsp; for(int j=0;j&lt;18; j++){<br />
&nbsp; &nbsp; &nbsp; matrix.setBrightness(50);<br />
&nbsp; &nbsp; &nbsp; if(heart2&#91;i&#93;&#91;j&#93;==0)<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; matrix.drawPixel(j, i, matrix.Color(0,0,0));<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; }<br />
&nbsp; }<br />
&nbsp; matrix.show();<br />
&nbsp; }<br />
&nbsp; &nbsp;//FRAME 7 ON<br />
&nbsp; &nbsp; matrix.fillScreen(0);<br />
&nbsp; &nbsp; &nbsp;for(int k=0;k&lt;255;k+=15){//(+10 ADJUSTS SPEED, 10 IS FASTER, 1 IS SLOW)<br />
&nbsp; for(int i=0;i&lt;18;i++){<br />
&nbsp; &nbsp; for(int j=0;j&lt;18; j++){<br />
&nbsp; &nbsp; &nbsp; matrix.setBrightness(50);<br />
&nbsp; &nbsp; &nbsp; if(heart22&#91;i&#93;&#91;j&#93;==1)<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; matrix.drawPixel(j, i, matrix.Color(255,0,0));<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; }<br />
&nbsp; }<br />
&nbsp; matrix.show();<br />
&nbsp; }<br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp;//blank<br />
&nbsp; &nbsp; matrix.fillScreen(0);<br />
&nbsp; &nbsp; &nbsp;for(int k=0;k&lt;255;k+=7){//(+10 ADJUSTS SPEED, 10 IS FASTER, 1 IS SLOW)<br />
&nbsp; for(int i=0;i&lt;18;i++){<br />
&nbsp; &nbsp; for(int j=0;j&lt;18; j++){<br />
&nbsp; &nbsp; &nbsp; matrix.setBrightness(50);<br />
&nbsp; &nbsp; &nbsp; if(heart2&#91;i&#93;&#91;j&#93;==0)<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; matrix.drawPixel(j, i, matrix.Color(0,0,0));<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; }<br />
&nbsp; }<br />
&nbsp; matrix.show();<br />
&nbsp; }<br />
&nbsp; &nbsp;//FRAME 7 ON<br />
&nbsp; &nbsp; matrix.fillScreen(0);<br />
&nbsp; &nbsp; &nbsp;for(int k=0;k&lt;255;k+=15){//(+10 ADJUSTS SPEED, 10 IS FASTER, 1 IS SLOW)<br />
&nbsp; for(int i=0;i&lt;18;i++){<br />
&nbsp; &nbsp; for(int j=0;j&lt;18; j++){<br />
&nbsp; &nbsp; &nbsp; matrix.setBrightness(50);<br />
&nbsp; &nbsp; &nbsp; if(heart21&#91;i&#93;&#91;j&#93;==1)<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; matrix.drawPixel(j, i, matrix.Color(255,0,0));<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; }<br />
&nbsp; }<br />
&nbsp; matrix.show();<br />
&nbsp; }<br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp;//blank<br />
&nbsp; &nbsp; matrix.fillScreen(0);<br />
&nbsp; &nbsp; &nbsp;for(int k=0;k&lt;255;k+=7){//(+10 ADJUSTS SPEED, 10 IS FASTER, 1 IS SLOW)<br />
&nbsp; for(int i=0;i&lt;18;i++){<br />
&nbsp; &nbsp; for(int j=0;j&lt;18; j++){<br />
&nbsp; &nbsp; &nbsp; matrix.setBrightness(50);<br />
&nbsp; &nbsp; &nbsp; if(heart2&#91;i&#93;&#91;j&#93;==0)<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; matrix.drawPixel(j, i, matrix.Color(0,0,0));<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; }<br />
&nbsp; }<br />
&nbsp; matrix.show();<br />
&nbsp; }<br />
&nbsp; &nbsp;//FRAME 7 ON<br />
&nbsp; &nbsp; matrix.fillScreen(0);<br />
&nbsp; &nbsp; &nbsp;for(int k=0;k&lt;255;k+=15){//(+10 ADJUSTS SPEED, 10 IS FASTER, 1 IS SLOW)<br />
&nbsp; for(int i=0;i&lt;18;i++){<br />
&nbsp; &nbsp; for(int j=0;j&lt;18; j++){<br />
&nbsp; &nbsp; &nbsp; matrix.setBrightness(50);<br />
&nbsp; &nbsp; &nbsp; if(heart20&#91;i&#93;&#91;j&#93;==1)<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; matrix.drawPixel(j, i, matrix.Color(255,0,0));<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; }<br />
&nbsp; }<br />
&nbsp; matrix.show();<br />
&nbsp; }<br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp;//blank<br />
&nbsp; &nbsp; matrix.fillScreen(0);<br />
&nbsp; &nbsp; &nbsp;for(int k=0;k&lt;255;k+=7){//(+10 ADJUSTS SPEED, 10 IS FASTER, 1 IS SLOW)<br />
&nbsp; for(int i=0;i&lt;18;i++){<br />
&nbsp; &nbsp; for(int j=0;j&lt;18; j++){<br />
&nbsp; &nbsp; &nbsp; matrix.setBrightness(50);<br />
&nbsp; &nbsp; &nbsp; if(heart2&#91;i&#93;&#91;j&#93;==0)<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; matrix.drawPixel(j, i, matrix.Color(0,0,0));<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; }<br />
&nbsp; }<br />
&nbsp; matrix.show();<br />
&nbsp; }<br />
&nbsp; &nbsp;//FRAME 7 ON<br />
&nbsp; &nbsp; matrix.fillScreen(0);<br />
&nbsp; &nbsp; &nbsp;for(int k=0;k&lt;255;k+=15){//(+10 ADJUSTS SPEED, 10 IS FASTER, 1 IS SLOW)<br />
&nbsp; for(int i=0;i&lt;18;i++){<br />
&nbsp; &nbsp; for(int j=0;j&lt;18; j++){<br />
&nbsp; &nbsp; &nbsp; matrix.setBrightness(50);<br />
&nbsp; &nbsp; &nbsp; if(heart19&#91;i&#93;&#91;j&#93;==1)<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; matrix.drawPixel(j, i, matrix.Color(255,0,0));<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; }<br />
&nbsp; }<br />
&nbsp; matrix.show();<br />
&nbsp; }<br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp;//blank<br />
&nbsp; &nbsp; matrix.fillScreen(0);<br />
&nbsp; &nbsp; &nbsp;for(int k=0;k&lt;255;k+=7){//(+10 ADJUSTS SPEED, 10 IS FASTER, 1 IS SLOW)<br />
&nbsp; for(int i=0;i&lt;18;i++){<br />
&nbsp; &nbsp; for(int j=0;j&lt;18; j++){<br />
&nbsp; &nbsp; &nbsp; matrix.setBrightness(50);<br />
&nbsp; &nbsp; &nbsp; if(heart2&#91;i&#93;&#91;j&#93;==0)<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; matrix.drawPixel(j, i, matrix.Color(0,0,0));<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; }<br />
&nbsp; }<br />
&nbsp; matrix.show();<br />
&nbsp; }<br />
&nbsp; &nbsp;//FRAME 7 ON<br />
&nbsp; &nbsp; matrix.fillScreen(0);<br />
&nbsp; &nbsp; &nbsp;for(int k=0;k&lt;255;k+=15){//(+10 ADJUSTS SPEED, 10 IS FASTER, 1 IS SLOW)<br />
&nbsp; for(int i=0;i&lt;18;i++){<br />
&nbsp; &nbsp; for(int j=0;j&lt;18; j++){<br />
&nbsp; &nbsp; &nbsp; matrix.setBrightness(50);<br />
&nbsp; &nbsp; &nbsp; if(heart18&#91;i&#93;&#91;j&#93;==1)<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; matrix.drawPixel(j, i, matrix.Color(255,0,0));<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; }<br />
&nbsp; }<br />
&nbsp; matrix.show();<br />
&nbsp; }<br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp;//blank<br />
&nbsp; &nbsp; matrix.fillScreen(0);<br />
&nbsp; &nbsp; &nbsp;for(int k=0;k&lt;255;k+=7){//(+10 ADJUSTS SPEED, 10 IS FASTER, 1 IS SLOW)<br />
&nbsp; for(int i=0;i&lt;18;i++){<br />
&nbsp; &nbsp; for(int j=0;j&lt;18; j++){<br />
&nbsp; &nbsp; &nbsp; matrix.setBrightness(50);<br />
&nbsp; &nbsp; &nbsp; if(heart2&#91;i&#93;&#91;j&#93;==0)<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; matrix.drawPixel(j, i, matrix.Color(0,0,0));<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; }<br />
&nbsp; }<br />
&nbsp; matrix.show();<br />
&nbsp; }<br />
&nbsp; &nbsp;<br />
&nbsp; &nbsp;<br />
//----<br />
<br />
&nbsp; &nbsp; }<br />
&nbsp; <br />
break;<br />
}<br />
&nbsp; <br />
<br />
<br />
matrix.fillScreen(0);<br />
//---------------------------------------------<br />
<br />
<br />
//BUTTON 6 SOLID ON----------------------------------------------------------------<br />
&nbsp; &nbsp;<br />
&nbsp; switch(pixelState)<br />
{<br />
case 5: LEDperiod = 10000000L;<br />
{<br />
<br />
&nbsp; &nbsp; //frame1 <br />
&nbsp; &nbsp; matrix.fillScreen(0);<br />
&nbsp; &nbsp;for(int k=0;k&lt;255;k+=1){//(+10 ADJUSTS SPEED, 10 IS FASTER, 1 IS SLOW)<br />
&nbsp; for(int i=0;i&lt;18;i++){<br />
&nbsp; &nbsp; for(int j=0;j&lt;18; j++){<br />
&nbsp; &nbsp; &nbsp; matrix.setBrightness(50);<br />
&nbsp; &nbsp; &nbsp; if(heart&#91;i&#93;&#91;j&#93;==1)<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; matrix.drawPixel(j, i, matrix.Color(255,0,0));<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp;<br />
&nbsp; &nbsp; }<br />
&nbsp; }<br />
&nbsp; matrix.show();<br />
&nbsp; } <br />
&nbsp; <br />
&nbsp;<br />
&nbsp; &nbsp; }<br />
&nbsp; <br />
break;<br />
}<br />
&nbsp;<br />
<br />
matrix.fillScreen(0);<br />
<br />
//BUTTON 7 FADE ON AND FADE OFF----------------------------------------------------------------<br />
&nbsp; &nbsp;<br />
&nbsp; switch(pixelState)<br />
{<br />
case 6: LEDperiod = 10000000L;<br />
{<br />
<br />
&nbsp; &nbsp; //frame1 <br />
&nbsp; &nbsp; matrix.fillScreen(0);<br />
&nbsp; for(int k=0;k&lt;255;k+=40){<br />
&nbsp; for(int i=0;i&lt;18;i++){<br />
&nbsp; &nbsp; for(int j=0;j&lt;18; j++){<br />
&nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; if(heart&#91;i&#93;&#91;j&#93;==1)<br />
&nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; matrix.drawPixel(j, i, matrix.Color(k,0,0));<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
<br />
&nbsp; &nbsp; }<br />
&nbsp; }<br />
&nbsp; matrix.show();<br />
&nbsp; delay(50);<br />
&nbsp; } <br />
&nbsp; <br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; //frame2 <br />
&nbsp; &nbsp; matrix.fillScreen(0);<br />
&nbsp; &nbsp;for(int k=0;k&lt;255;k+=40){//(+10 ADJUSTS SPEED, 10 IS FASTER, 1 IS SLOW)<br />
&nbsp; for(int i=0;i&lt;18;i++){<br />
&nbsp; &nbsp; for(int j=0;j&lt;18; j++){<br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; if(heart&#91;i&#93;&#91;j&#93;==1)<br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; matrix.drawPixel(j, i, matrix.Color(255-k,0,0));<br />
<br />
&nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; <br />
<br />
&nbsp; &nbsp; }<br />
&nbsp; }<br />
&nbsp; matrix.show();<br />
&nbsp; delay(50);<br />
&nbsp; } <br />
&nbsp;<br />
&nbsp;<br />
&nbsp;<br />
&nbsp;<br />
&nbsp;<br />
&nbsp;<br />
&nbsp; &nbsp; }<br />
&nbsp; <br />
break;<br />
}<br />
&nbsp;<br />
<br />
matrix.fillScreen(0);<br />
<br />
<br />
//BUTTON 8 3 BARS MOVING LEFT TO RIGHT----------------------------------------------------------------<br />
&nbsp; &nbsp;<br />
&nbsp; switch(pixelState)<br />
{<br />
case 7: LEDperiod = 10000000L;<br />
{<br />
<br />
&nbsp; &nbsp; //frame1 <br />
&nbsp; &nbsp; matrix.fillScreen(0);<br />
&nbsp; &nbsp;for(int k=0;k&lt;255;k+=30){//(+10 ADJUSTS SPEED, 10 IS FASTER, 1 IS SLOW)<br />
&nbsp; for(int i=0;i&lt;18;i++){<br />
&nbsp; &nbsp; for(int j=0;j&lt;18; j++){<br />
&nbsp; &nbsp; &nbsp; matrix.setBrightness(50);<br />
&nbsp; &nbsp; &nbsp; if(heart3&#91;i&#93;&#91;j&#93;==1)<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; matrix.drawPixel(j, i, matrix.Color(255,0,0));<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp;<br />
&nbsp; &nbsp; }<br />
&nbsp; }<br />
&nbsp; matrix.show();<br />
&nbsp; } <br />
&nbsp; <br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; //frame2&nbsp; <br />
&nbsp; &nbsp; matrix.fillScreen(0);<br />
&nbsp; &nbsp;for(int k=0;k&lt;255;k+=15){//(+10 ADJUSTS SPEED, 10 IS FASTER, 1 IS SLOW)<br />
&nbsp; for(int i=0;i&lt;18;i++){<br />
&nbsp; &nbsp; for(int j=0;j&lt;18; j++){<br />
&nbsp; &nbsp; &nbsp; matrix.setBrightness(50);<br />
&nbsp; &nbsp; &nbsp; if(heart4&#91;i&#93;&#91;j&#93;==1)<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; matrix.drawPixel(j, i, matrix.Color(255,0,0));<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp;<br />
&nbsp; &nbsp; }<br />
&nbsp; }<br />
&nbsp; matrix.show();<br />
&nbsp; } <br />
&nbsp; &nbsp;<br />
&nbsp; <br />
&nbsp; &nbsp; //frame3<br />
&nbsp; &nbsp; matrix.fillScreen(0);<br />
&nbsp; &nbsp;for(int k=0;k&lt;255;k+=15){//(+10 ADJUSTS SPEED, 10 IS FASTER, 1 IS SLOW)<br />
&nbsp; for(int i=0;i&lt;18;i++){<br />
&nbsp; &nbsp; for(int j=0;j&lt;18; j++){<br />
&nbsp; &nbsp; &nbsp; matrix.setBrightness(50);<br />
&nbsp; &nbsp; &nbsp; if(heart5&#91;i&#93;&#91;j&#93;==1)<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; matrix.drawPixel(j, i, matrix.Color(255,0,0));<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp;<br />
&nbsp; &nbsp; }<br />
&nbsp; }<br />
&nbsp; matrix.show();<br />
&nbsp; } <br />
&nbsp; <br />
&nbsp; //frame4 <br />
&nbsp; &nbsp; matrix.fillScreen(0);<br />
&nbsp; &nbsp;for(int k=0;k&lt;255;k+=15){//(+10 ADJUSTS SPEED, 10 IS FASTER, 1 IS SLOW)<br />
&nbsp; for(int i=0;i&lt;18;i++){<br />
&nbsp; &nbsp; for(int j=0;j&lt;18; j++){<br />
&nbsp; &nbsp; &nbsp; matrix.setBrightness(50);<br />
&nbsp; &nbsp; &nbsp; if(heart6&#91;i&#93;&#91;j&#93;==1)<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; matrix.drawPixel(j, i, matrix.Color(255,0,0));<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp;<br />
&nbsp; &nbsp; }<br />
&nbsp; }<br />
&nbsp; matrix.show();<br />
&nbsp; } <br />
&nbsp;//frame5<br />
&nbsp; &nbsp; matrix.fillScreen(0);<br />
&nbsp; &nbsp;for(int k=0;k&lt;255;k+=15){//(+10 ADJUSTS SPEED, 10 IS FASTER, 1 IS SLOW)<br />
&nbsp; for(int i=0;i&lt;18;i++){<br />
&nbsp; &nbsp; for(int j=0;j&lt;18; j++){<br />
&nbsp; &nbsp; &nbsp; matrix.setBrightness(50);<br />
&nbsp; &nbsp; &nbsp; if(heart7&#91;i&#93;&#91;j&#93;==1)<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; matrix.drawPixel(j, i, matrix.Color(255,0,0));<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp;<br />
&nbsp; &nbsp; }<br />
&nbsp; }<br />
&nbsp; matrix.show();<br />
&nbsp; } <br />
&nbsp; //frame6&nbsp; <br />
&nbsp; &nbsp; matrix.fillScreen(0);<br />
&nbsp; &nbsp;for(int k=0;k&lt;255;k+=15){//(+10 ADJUSTS SPEED, 10 IS FASTER, 1 IS SLOW)<br />
&nbsp; for(int i=0;i&lt;18;i++){<br />
&nbsp; &nbsp; for(int j=0;j&lt;18; j++){<br />
&nbsp; &nbsp; &nbsp; matrix.setBrightness(50);<br />
&nbsp; &nbsp; &nbsp; if(heart8&#91;i&#93;&#91;j&#93;==1)<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; matrix.drawPixel(j, i, matrix.Color(255,0,0));<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp;<br />
&nbsp; &nbsp; }<br />
&nbsp; }<br />
&nbsp; matrix.show();<br />
&nbsp; } <br />
<br />
&nbsp; //frame7&nbsp; <br />
&nbsp; &nbsp; matrix.fillScreen(0);<br />
&nbsp; &nbsp;for(int k=0;k&lt;255;k+=15){//(+10 ADJUSTS SPEED, 10 IS FASTER, 1 IS SLOW)<br />
&nbsp; for(int i=0;i&lt;18;i++){<br />
&nbsp; &nbsp; for(int j=0;j&lt;18; j++){<br />
&nbsp; &nbsp; &nbsp; matrix.setBrightness(50);<br />
&nbsp; &nbsp; &nbsp; if(heart9&#91;i&#93;&#91;j&#93;==1)<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; matrix.drawPixel(j, i, matrix.Color(255,0,0));<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp;<br />
&nbsp; &nbsp; }<br />
&nbsp; }<br />
&nbsp; matrix.show();<br />
&nbsp; } <br />
&nbsp; <br />
&nbsp; //frame8&nbsp; <br />
&nbsp; &nbsp; matrix.fillScreen(0);<br />
&nbsp; &nbsp;for(int k=0;k&lt;255;k+=15){//(+10 ADJUSTS SPEED, 10 IS FASTER, 1 IS SLOW)<br />
&nbsp; for(int i=0;i&lt;18;i++){<br />
&nbsp; &nbsp; for(int j=0;j&lt;18; j++){<br />
&nbsp; &nbsp; &nbsp; matrix.setBrightness(50);<br />
&nbsp; &nbsp; &nbsp; if(heart10&#91;i&#93;&#91;j&#93;==1)<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; matrix.drawPixel(j, i, matrix.Color(255,0,0));<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp;<br />
&nbsp; &nbsp; }<br />
&nbsp; }<br />
&nbsp; matrix.show();<br />
&nbsp; } <br />
&nbsp; <br />
&nbsp; &nbsp; //frame9 <br />
&nbsp; &nbsp; matrix.fillScreen(0);<br />
&nbsp; &nbsp;for(int k=0;k&lt;255;k+=15){//(+10 ADJUSTS SPEED, 10 IS FASTER, 1 IS SLOW)<br />
&nbsp; for(int i=0;i&lt;18;i++){<br />
&nbsp; &nbsp; for(int j=0;j&lt;18; j++){<br />
&nbsp; &nbsp; &nbsp; matrix.setBrightness(50);<br />
&nbsp; &nbsp; &nbsp; if(heart11&#91;i&#93;&#91;j&#93;==1)<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; matrix.drawPixel(j, i, matrix.Color(255,0,0));<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp;<br />
&nbsp; &nbsp; }<br />
&nbsp; }<br />
&nbsp; matrix.show();<br />
&nbsp; } <br />
&nbsp; <br />
&nbsp; //frame10 <br />
&nbsp; &nbsp; matrix.fillScreen(0);<br />
&nbsp; &nbsp;for(int k=0;k&lt;255;k+=15){//(+10 ADJUSTS SPEED, 10 IS FASTER, 1 IS SLOW)<br />
&nbsp; for(int i=0;i&lt;18;i++){<br />
&nbsp; &nbsp; for(int j=0;j&lt;18; j++){<br />
&nbsp; &nbsp; &nbsp; matrix.setBrightness(50);<br />
&nbsp; &nbsp; &nbsp; if(heart12&#91;i&#93;&#91;j&#93;==1)<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; matrix.drawPixel(j, i, matrix.Color(255,0,0));<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp;<br />
&nbsp; &nbsp; }<br />
&nbsp; }<br />
&nbsp; matrix.show();<br />
&nbsp; } <br />
&nbsp; <br />
&nbsp; &nbsp; //frame11 <br />
&nbsp; &nbsp; matrix.fillScreen(0);<br />
&nbsp; &nbsp;for(int k=0;k&lt;255;k+=15){//(+10 ADJUSTS SPEED, 10 IS FASTER, 1 IS SLOW)<br />
&nbsp; for(int i=0;i&lt;18;i++){<br />
&nbsp; &nbsp; for(int j=0;j&lt;18; j++){<br />
&nbsp; &nbsp; &nbsp; matrix.setBrightness(50);<br />
&nbsp; &nbsp; &nbsp; if(heart13&#91;i&#93;&#91;j&#93;==1)<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; matrix.drawPixel(j, i, matrix.Color(255,0,0));<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp;<br />
&nbsp; &nbsp; }<br />
&nbsp; }<br />
&nbsp; matrix.show();<br />
&nbsp; } <br />
&nbsp; <br />
&nbsp; //frame12 <br />
&nbsp; &nbsp; matrix.fillScreen(0);<br />
&nbsp; &nbsp;for(int k=0;k&lt;255;k+=15){//(+10 ADJUSTS SPEED, 10 IS FASTER, 1 IS SLOW)<br />
&nbsp; for(int i=0;i&lt;18;i++){<br />
&nbsp; &nbsp; for(int j=0;j&lt;18; j++){<br />
&nbsp; &nbsp; &nbsp; matrix.setBrightness(50);<br />
&nbsp; &nbsp; &nbsp; if(heart14&#91;i&#93;&#91;j&#93;==1)<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; matrix.drawPixel(j, i, matrix.Color(255,0,0));<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp;<br />
&nbsp; &nbsp; }<br />
&nbsp; }<br />
&nbsp; matrix.show();<br />
&nbsp; } <br />
<br />
//frame13 <br />
&nbsp; &nbsp; matrix.fillScreen(0);<br />
&nbsp; &nbsp;for(int k=0;k&lt;255;k+=15){//(+10 ADJUSTS SPEED, 10 IS FASTER, 1 IS SLOW)<br />
&nbsp; for(int i=0;i&lt;18;i++){<br />
&nbsp; &nbsp; for(int j=0;j&lt;18; j++){<br />
&nbsp; &nbsp; &nbsp; matrix.setBrightness(50);<br />
&nbsp; &nbsp; &nbsp; if(heart15&#91;i&#93;&#91;j&#93;==1)<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; matrix.drawPixel(j, i, matrix.Color(255,0,0));<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp;<br />
&nbsp; &nbsp; }<br />
&nbsp; }<br />
&nbsp; matrix.show();<br />
&nbsp; } <br />
&nbsp; <br />
&nbsp; //frame14 <br />
&nbsp; &nbsp; matrix.fillScreen(0);<br />
&nbsp; &nbsp;for(int k=0;k&lt;255;k+=15){//(+10 ADJUSTS SPEED, 10 IS FASTER, 1 IS SLOW)<br />
&nbsp; for(int i=0;i&lt;18;i++){<br />
&nbsp; &nbsp; for(int j=0;j&lt;18; j++){<br />
&nbsp; &nbsp; &nbsp; matrix.setBrightness(50);<br />
&nbsp; &nbsp; &nbsp; if(heart16&#91;i&#93;&#91;j&#93;==1)<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; matrix.drawPixel(j, i, matrix.Color(255,0,0));<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp;<br />
&nbsp; &nbsp; }<br />
&nbsp; }<br />
&nbsp; matrix.show();<br />
&nbsp; } <br />
<br />
&nbsp; //frame15 <br />
&nbsp; &nbsp; matrix.fillScreen(0);<br />
&nbsp; &nbsp;for(int k=0;k&lt;255;k+=30){//(+10 ADJUSTS SPEED, 10 IS FASTER, 1 IS SLOW)<br />
&nbsp; for(int i=0;i&lt;18;i++){<br />
&nbsp; &nbsp; for(int j=0;j&lt;18; j++){<br />
&nbsp; &nbsp; &nbsp; matrix.setBrightness(50);<br />
&nbsp; &nbsp; &nbsp; if(heart17&#91;i&#93;&#91;j&#93;==1)<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; matrix.drawPixel(j, i, matrix.Color(255,0,0));<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp;<br />
&nbsp; &nbsp; }<br />
&nbsp; }<br />
&nbsp; matrix.show();<br />
&nbsp; } <br />
&nbsp; <br />
&nbsp; &nbsp; //frame14 <br />
&nbsp; &nbsp; matrix.fillScreen(0);<br />
&nbsp; &nbsp;for(int k=0;k&lt;255;k+=15){//(+10 ADJUSTS SPEED, 10 IS FASTER, 1 IS SLOW)<br />
&nbsp; for(int i=0;i&lt;18;i++){<br />
&nbsp; &nbsp; for(int j=0;j&lt;18; j++){<br />
&nbsp; &nbsp; &nbsp; matrix.setBrightness(50);<br />
&nbsp; &nbsp; &nbsp; if(heart16&#91;i&#93;&#91;j&#93;==1)<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; matrix.drawPixel(j, i, matrix.Color(255,0,0));<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp;<br />
&nbsp; &nbsp; }<br />
&nbsp; }<br />
&nbsp; matrix.show();<br />
&nbsp; } <br />
&nbsp; <br />
&nbsp; //frame13 <br />
&nbsp; &nbsp; matrix.fillScreen(0);<br />
&nbsp; &nbsp;for(int k=0;k&lt;255;k+=15){//(+10 ADJUSTS SPEED, 10 IS FASTER, 1 IS SLOW)<br />
&nbsp; for(int i=0;i&lt;18;i++){<br />
&nbsp; &nbsp; for(int j=0;j&lt;18; j++){<br />
&nbsp; &nbsp; &nbsp; matrix.setBrightness(50);<br />
&nbsp; &nbsp; &nbsp; if(heart15&#91;i&#93;&#91;j&#93;==1)<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; matrix.drawPixel(j, i, matrix.Color(255,0,0));<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp;<br />
&nbsp; &nbsp; }<br />
&nbsp; }<br />
&nbsp; matrix.show();<br />
&nbsp; } <br />
&nbsp; <br />
&nbsp; //frame12 <br />
&nbsp; &nbsp; matrix.fillScreen(0);<br />
&nbsp; &nbsp;for(int k=0;k&lt;255;k+=15){//(+10 ADJUSTS SPEED, 10 IS FASTER, 1 IS SLOW)<br />
&nbsp; for(int i=0;i&lt;18;i++){<br />
&nbsp; &nbsp; for(int j=0;j&lt;18; j++){<br />
&nbsp; &nbsp; &nbsp; matrix.setBrightness(50);<br />
&nbsp; &nbsp; &nbsp; if(heart14&#91;i&#93;&#91;j&#93;==1)<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; matrix.drawPixel(j, i, matrix.Color(255,0,0));<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp;<br />
&nbsp; &nbsp; }<br />
&nbsp; }<br />
&nbsp; matrix.show();<br />
&nbsp; } <br />
&nbsp; <br />
&nbsp; //frame11 <br />
&nbsp; &nbsp; matrix.fillScreen(0);<br />
&nbsp; &nbsp;for(int k=0;k&lt;255;k+=15){//(+10 ADJUSTS SPEED, 10 IS FASTER, 1 IS SLOW)<br />
&nbsp; for(int i=0;i&lt;18;i++){<br />
&nbsp; &nbsp; for(int j=0;j&lt;18; j++){<br />
&nbsp; &nbsp; &nbsp; matrix.setBrightness(50);<br />
&nbsp; &nbsp; &nbsp; if(heart13&#91;i&#93;&#91;j&#93;==1)<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; matrix.drawPixel(j, i, matrix.Color(255,0,0));<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp;<br />
&nbsp; &nbsp; }<br />
&nbsp; }<br />
&nbsp; matrix.show();<br />
&nbsp; } <br />
&nbsp; <br />
&nbsp; //frame10 <br />
&nbsp; &nbsp; matrix.fillScreen(0);<br />
&nbsp; &nbsp;for(int k=0;k&lt;255;k+=15){//(+10 ADJUSTS SPEED, 10 IS FASTER, 1 IS SLOW)<br />
&nbsp; for(int i=0;i&lt;18;i++){<br />
&nbsp; &nbsp; for(int j=0;j&lt;18; j++){<br />
&nbsp; &nbsp; &nbsp; matrix.setBrightness(50);<br />
&nbsp; &nbsp; &nbsp; if(heart12&#91;i&#93;&#91;j&#93;==1)<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; matrix.drawPixel(j, i, matrix.Color(255,0,0));<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp;<br />
&nbsp; &nbsp; }<br />
&nbsp; }<br />
&nbsp; matrix.show();<br />
&nbsp; } <br />
&nbsp; <br />
&nbsp; //frame9 <br />
&nbsp; &nbsp; matrix.fillScreen(0);<br />
&nbsp; &nbsp;for(int k=0;k&lt;255;k+=15){//(+10 ADJUSTS SPEED, 10 IS FASTER, 1 IS SLOW)<br />
&nbsp; for(int i=0;i&lt;18;i++){<br />
&nbsp; &nbsp; for(int j=0;j&lt;18; j++){<br />
&nbsp; &nbsp; &nbsp; matrix.setBrightness(50);<br />
&nbsp; &nbsp; &nbsp; if(heart11&#91;i&#93;&#91;j&#93;==1)<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; matrix.drawPixel(j, i, matrix.Color(255,0,0));<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp;<br />
&nbsp; &nbsp; }<br />
&nbsp; }<br />
&nbsp; matrix.show();<br />
&nbsp; } <br />
&nbsp; <br />
&nbsp; //frame8&nbsp; <br />
&nbsp; &nbsp; matrix.fillScreen(0);<br />
&nbsp; &nbsp;for(int k=0;k&lt;255;k+=15){//(+10 ADJUSTS SPEED, 10 IS FASTER, 1 IS SLOW)<br />
&nbsp; for(int i=0;i&lt;18;i++){<br />
&nbsp; &nbsp; for(int j=0;j&lt;18; j++){<br />
&nbsp; &nbsp; &nbsp; matrix.setBrightness(50);<br />
&nbsp; &nbsp; &nbsp; if(heart10&#91;i&#93;&#91;j&#93;==1)<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; matrix.drawPixel(j, i, matrix.Color(255,0,0));<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp;<br />
&nbsp; &nbsp; }<br />
&nbsp; }<br />
&nbsp; matrix.show();<br />
&nbsp; } <br />
&nbsp; <br />
&nbsp; //frame7&nbsp; <br />
&nbsp; &nbsp; matrix.fillScreen(0);<br />
&nbsp; &nbsp;for(int k=0;k&lt;255;k+=15){//(+10 ADJUSTS SPEED, 10 IS FASTER, 1 IS SLOW)<br />
&nbsp; for(int i=0;i&lt;18;i++){<br />
&nbsp; &nbsp; for(int j=0;j&lt;18; j++){<br />
&nbsp; &nbsp; &nbsp; matrix.setBrightness(50);<br />
&nbsp; &nbsp; &nbsp; if(heart9&#91;i&#93;&#91;j&#93;==1)<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; matrix.drawPixel(j, i, matrix.Color(255,0,0));<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp;<br />
&nbsp; &nbsp; }<br />
&nbsp; }<br />
&nbsp; matrix.show();<br />
&nbsp; } <br />
&nbsp; <br />
&nbsp; //frame6&nbsp; <br />
&nbsp; &nbsp; matrix.fillScreen(0);<br />
&nbsp; &nbsp;for(int k=0;k&lt;255;k+=15){//(+10 ADJUSTS SPEED, 10 IS FASTER, 1 IS SLOW)<br />
&nbsp; for(int i=0;i&lt;18;i++){<br />
&nbsp; &nbsp; for(int j=0;j&lt;18; j++){<br />
&nbsp; &nbsp; &nbsp; matrix.setBrightness(50);<br />
&nbsp; &nbsp; &nbsp; if(heart8&#91;i&#93;&#91;j&#93;==1)<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; matrix.drawPixel(j, i, matrix.Color(255,0,0));<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp;<br />
&nbsp; &nbsp; }<br />
&nbsp; }<br />
&nbsp; matrix.show();<br />
&nbsp; } <br />
&nbsp; <br />
&nbsp; //frame5<br />
&nbsp; &nbsp; matrix.fillScreen(0);<br />
&nbsp; &nbsp;for(int k=0;k&lt;255;k+=15){//(+10 ADJUSTS SPEED, 10 IS FASTER, 1 IS SLOW)<br />
&nbsp; for(int i=0;i&lt;18;i++){<br />
&nbsp; &nbsp; for(int j=0;j&lt;18; j++){<br />
&nbsp; &nbsp; &nbsp; matrix.setBrightness(50);<br />
&nbsp; &nbsp; &nbsp; if(heart7&#91;i&#93;&#91;j&#93;==1)<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; matrix.drawPixel(j, i, matrix.Color(255,0,0));<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp;<br />
&nbsp; &nbsp; }<br />
&nbsp; }<br />
&nbsp; matrix.show();<br />
&nbsp; } <br />
&nbsp; //frame4 <br />
&nbsp; &nbsp; matrix.fillScreen(0);<br />
&nbsp; &nbsp;for(int k=0;k&lt;255;k+=15){//(+10 ADJUSTS SPEED, 10 IS FASTER, 1 IS SLOW)<br />
&nbsp; for(int i=0;i&lt;18;i++){<br />
&nbsp; &nbsp; for(int j=0;j&lt;18; j++){<br />
&nbsp; &nbsp; &nbsp; matrix.setBrightness(50);<br />
&nbsp; &nbsp; &nbsp; if(heart6&#91;i&#93;&#91;j&#93;==1)<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; matrix.drawPixel(j, i, matrix.Color(255,0,0));<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp;<br />
&nbsp; &nbsp; }<br />
&nbsp; }<br />
&nbsp; matrix.show();<br />
&nbsp; } <br />
&nbsp; <br />
&nbsp; &nbsp;//frame3<br />
&nbsp; &nbsp; matrix.fillScreen(0);<br />
&nbsp; &nbsp;for(int k=0;k&lt;255;k+=15){//(+10 ADJUSTS SPEED, 10 IS FASTER, 1 IS SLOW)<br />
&nbsp; for(int i=0;i&lt;18;i++){<br />
&nbsp; &nbsp; for(int j=0;j&lt;18; j++){<br />
&nbsp; &nbsp; &nbsp; matrix.setBrightness(50);<br />
&nbsp; &nbsp; &nbsp; if(heart5&#91;i&#93;&#91;j&#93;==1)<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; matrix.drawPixel(j, i, matrix.Color(255,0,0));<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp;<br />
&nbsp; &nbsp; }<br />
&nbsp; }<br />
&nbsp; matrix.show();<br />
&nbsp; } <br />
&nbsp; <br />
&nbsp; &nbsp;//frame2&nbsp; <br />
&nbsp; &nbsp; matrix.fillScreen(0);<br />
&nbsp; &nbsp;for(int k=0;k&lt;255;k+=15){//(+10 ADJUSTS SPEED, 10 IS FASTER, 1 IS SLOW)<br />
&nbsp; for(int i=0;i&lt;18;i++){<br />
&nbsp; &nbsp; for(int j=0;j&lt;18; j++){<br />
&nbsp; &nbsp; &nbsp; matrix.setBrightness(50);<br />
&nbsp; &nbsp; &nbsp; if(heart4&#91;i&#93;&#91;j&#93;==1)<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; matrix.drawPixel(j, i, matrix.Color(255,0,0));<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp;<br />
&nbsp; &nbsp; }<br />
&nbsp; }<br />
&nbsp; matrix.show();<br />
&nbsp; } <br />
&nbsp; <br />
&nbsp; <br />
&nbsp;//--<br />
&nbsp;<br />
&nbsp; &nbsp; }<br />
&nbsp; <br />
break;<br />
}<br />
&nbsp;<br />
<br />
matrix.fillScreen(0);<br />
<br />
<br />
<br />
<br />
&nbsp; <br />
//--------------------------------------------------------------<br />
return pinState;<br />
<br />
}<br />
<br />
<br />
//--------------------------------------------------------------<br />
<br />
<br />
&nbsp; <br />
<br />
<br />
<br />
<br />
</code></dd></dl>]]></description>
		</item>
	
		<item>
			<dc:creator>robot579</dc:creator>
			<pubDate>Sun, 26 Nov 2017 00:38:54 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=8&amp;p=633684#p633684</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=8&amp;p=633684#p633684</link>
			<title>General Topics</title>
			<description><![CDATA[I want a return label to return all items for credit in full. Too many items do not work and I have tried to deal with it in email exchanges.]]></description>
		</item>
	
		<item>
			<dc:creator>MikeB2017</dc:creator>
			<pubDate>Sun, 26 Nov 2017 00:15:27 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=53&amp;p=633683#p633683</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=53&amp;p=633683#p633683</link>
			<title>Re: BlueFruit Sniffer - Red LED</title>
			<description><![CDATA[A bit of digging for the chip set (Nordic nRF51822) manual revealed the meaning of the LED's: RED connected, BLUE duty cycle.  My take is that there's a GREEN LED that isn't connected.  The YELLOW LED I see blinking is the USB/UART bridge chip transmission.<br />
<br />
The link for nRF51822 LED states is here: <!-- m --><a class="postlink" href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk51.v9.0.0%2Fexamples_bsp.html">https://infocenter.nordicsemi.com/index ... s_bsp.html</a><!-- m -->.<br />
The link for the FT231X LED states is here:  <!-- m --><a class="postlink" href="http://www.ftdichip.com/Support/Documents/DataSheets/ICs/DS_FT231X.pdf">http://www.ftdichip.com/Support/Documen ... FT231X.pdf</a><!-- m --><br />
<br />
Why the device is shutting down (all LED's off) remains an open question.  If you think what I found is wrong or can add to it, post a reply.]]></description>
		</item>
	
		<item>
			<dc:creator>blehrman</dc:creator>
			<pubDate>Sun, 26 Nov 2017 00:02:24 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=19&amp;p=633682#p633682</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=19&amp;p=633682#p633682</link>
			<title>New Product Request Thread</title>
			<description><![CDATA[Hi Adafruit!<br />
<br />
Having lots of  fun playing with my Feather M0+'s and various Featherwings (plus Adafruit customer support rocks). But there are a few bits and components that I wish Adafruit made/sold. So here is the start of my wishlist (mostly Feather, with a side of other stuff):<br />
<br />
1) Feather Pinout Header Stickers - like <a href="https://www.adafruit.com/product/601" class="postlink">https://www.adafruit.com/product/601</a>, but for the female headers (yeah, I could make my own...)<br />
2) XBee adapter Featherwing or revive the <a href="https://www.adafruit.com/product/126" class="postlink">https://www.adafruit.com/product/126</a><br />
3) Solar (PV) LiPo charging Featherwing to enable off-the grid deployment of my Feathers - or is this already possible?<br />
4) RS232/RS485 network interface Featherwing (okay, RS485 to TTL adapters can be found for less than $4, but they are not Featherwings!)<br />
5) Feather Arduino Shield - so Featherwings can be used on classic Arduino PCBs and Arduino Shields can be used on Feathers.<br />
6) <span style="color: #40FFFF">CF card Featherwing or even just a breakout board to use when microSD cards aren't enough, and to enable using the stash of CF cards that most of us have</span> or maybe not...<br />
7) More environmental sensors of all sorts -  pH, soil moisture, EMI/RF radiation, load cells and strain sensors, more sensor breakout boards, and a sensor interface Featherwing...<br />
<br />
<br />
Happy Holidays!<br />
<br />
B]]></description>
		</item>
	
		<item>
			<dc:creator>roadshark</dc:creator>
			<pubDate>Sat, 25 Nov 2017 23:55:10 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=25&amp;p=633681#p633681</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=25&amp;p=633681#p633681</link>
			<title>Re: adafruit-vs1053</title>
			<description><![CDATA[Hi,  <blockquote class="uncited"><div>I suspect that the witch flash may not be working because currentMillis is not updated until after that code section. You should move this line to the start of your loop.<br />
</div></blockquote> I have placed the line here <dl class="codebox"><dt>Code: <a href="#" onclick="selectCode(this); return false;">Select all</a> | <a href="#" onclick="toggleExpandCodeBox(this); return false;">TOGGLE FULL SIZE</a></dt><dd><code>void loop() {<br />
&nbsp; unsigned long currentMillis = millis();</code></dd></dl> Now when I press  the cauldron button the 6 witch face leds (32, 33, 34, 35,36,37) all flash ( just a faint fast flicker) once and turn off.<br />
<dl class="codebox"><dt>Code: <a href="#" onclick="selectCode(this); return false;">Select all</a> | <a href="#" onclick="toggleExpandCodeBox(this); return false;">TOGGLE FULL SIZE</a></dt><dd><code>&nbsp;if (digitalRead (26) == LOW) // initiate sound and flashing sequence<br />
&nbsp; {<br />
&nbsp; &nbsp; while (digitalRead (26) == LOW);<br />
&nbsp; &nbsp; gameScore = gameScore -= 100;//Cauldron<br />
&nbsp; &nbsp; matrix.print(gameScore, DEC);<br />
&nbsp; &nbsp; matrix.writeDisplay();<br />
&nbsp; &nbsp; musicPlayer.startPlayingFile(&quot;witchLau.mp3&quot;);//start witch face sequence<br />
&nbsp; &nbsp; witchFlashesLeft = 3;<br />
&nbsp; &nbsp; // flash witch faces<br />
&nbsp; &nbsp; if (witchFlashesLeft &gt; 0 &amp;&amp; currentMillis - previousWitchFlash &gt;= interval)<br />
&nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; for (int i = 0; i &lt; witchFaceLedPinsCount; i++)<br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; // save the last time you blinked the LED<br />
&nbsp; &nbsp; &nbsp; &nbsp; previousWitchFlash = currentMillis;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; // if the LED is off turn it on and vice-versa:<br />
&nbsp; &nbsp; &nbsp; &nbsp; if (digitalRead(witchFaceLedPins&#91;i&#93;) == LOW)<br />
&nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; digitalWrite(witchFaceLedPins &#91;i&#93;, HIGH);<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; else<br />
&nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; digitalWrite(witchFaceLedPins &#91;i&#93;, LOW);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; witchFlashesLeft--;&nbsp; // count down<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; digitalWrite(witchFaceLedPins &#91;i&#93;, ledState);<br />
&nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; previousWitchFlash = currentMillis;<br />
&nbsp; &nbsp; }<br />
&nbsp; }</code></dd></dl><br />
Bonus Pumpkin.<br />
<blockquote class="uncited"><div>There is nothing in your reset logic to initialize the bonus leds. So any that are on will stay on. You need to add something like:</div></blockquote><br />
<dl class="codebox"><dt>Code: <a href="#" onclick="selectCode(this); return false;">Select all</a> | <a href="#" onclick="toggleExpandCodeBox(this); return false;">TOGGLE FULL SIZE</a></dt><dd><code>&nbsp;for (int thisPin = 0; thisPin&nbsp; &lt; ledPinsCount; thisPin++)<br />
&nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; digitalWrite(ledPins&#91;thisPin&#93;, LOW);<br />
&nbsp; &nbsp; }</code></dd></dl><br />
Have done this but now the bonus LEDs (pin  44, 45, 46)  All come on at the same time and turn off at the same time after some seconds. (Only one is meant to come on at a time). They also turn off if the reset button is pushed which is what is meant to happen. I have noticed that the LED attached to 47 does not come on at all. Have checked the LED and wiring and all is ok. Is this code correct for the randomization of the pins. <dl class="codebox"><dt>Code: <a href="#" onclick="selectCode(this); return false;">Select all</a> | <a href="#" onclick="toggleExpandCodeBox(this); return false;">TOGGLE FULL SIZE</a></dt><dd><code>{ randomPin = random(44, 47);//generate one of these numbers randomly 44, 45, 46, 47<br />
&nbsp; &nbsp; digitalWrite (randomPin, HIGH);//&nbsp; turn on bonus pumpkin.<br />
&nbsp; }</code></dd></dl>Here is the updated bonus pumpkin code. Are the curly brackets in the right place??<br />
<dl class="codebox"><dt>Code: <a href="#" onclick="selectCode(this); return false;">Select all</a> | <a href="#" onclick="toggleExpandCodeBox(this); return false;">TOGGLE FULL SIZE</a></dt><dd><code>&nbsp;//Bonus Pumpkin set up<br />
&nbsp; if (millis() &gt;= bonusStart)<br />
&nbsp; { randomPin = random(44, 47);//generate one of these numbers randomly 44, 45, 46, 47<br />
&nbsp; &nbsp; digitalWrite (randomPin, HIGH);//&nbsp; turn on bonus pumpkin.<br />
&nbsp; }<br />
<br />
<br />
&nbsp; if (millis() &gt;= bonusEnd)// turn off bonus pumpkin<br />
<br />
&nbsp; {<br />
&nbsp; &nbsp; //Sets the Pumkin LEDs off<br />
&nbsp; &nbsp; for (int thisPin = 0; thisPin&nbsp; &lt; ledPinsCount; thisPin++)<br />
&nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; digitalWrite(ledPins&#91;thisPin&#93;, LOW);<br />
&nbsp; &nbsp; }<br />
&nbsp; &nbsp; // generate a random delay for the next bonus<br />
&nbsp; &nbsp; bonusStart += random(minSeconds, maxSeconds) * 1000;<br />
&nbsp; &nbsp; // plus 4 seconds for the end of the bonus period<br />
&nbsp; &nbsp; bonusEnd = bonusStart + 4000;<br />
<br />
&nbsp; }</code></dd></dl>]]></description>
		</item>
	
		<item>
			<dc:creator>brou0040</dc:creator>
			<pubDate>Sat, 25 Nov 2017 23:46:45 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=25&amp;p=633680#p633680</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=25&amp;p=633680#p633680</link>
			<title>BMP180 accuracy, bias correction?</title>
			<description><![CDATA[I've been primarily using PIC microchips with BMP180s and a BMP085 and have been getting varying results.  The BMP085 is not on a breakout board and is soldering into a prototype so I can't use that for much troubleshooting other than looking at the results.  The two BMP180s I've been using are integrated into the adafruit breakout boards.  To test the results I'm getting from the PIC, I hooked the same BMP180 up to an Arduino UNO using the adafruit library and example (for the BMP085).  The Arduino version gives me the same results as the PIC version so it looks like my hardware and software are working fine, but I get different results between the 3 sensors I'm testing.<br />
<br />
For example, when using a current altimeter setting and testing at the airport (where the altimeter setting is taken), I get altitudes of 2463 ft, 2355 ft, and 2370 ft.  The altimeter in my airplane set to the same altimeter setting was reading 2405 ft (as accurately as I can read it).  The altimeter is within calibration (+/- 75 ft), the airport elevation is 2457, and there is not a significant change in altitude between where I was testing and the weather station.  The 2463 ft reading is from my prototype with the BMP085 so I can't swap that out, but I was able to swap the BMP180s between my PIC board and my Arduino board and the results followed the sensors.<br />
<br />
I believe the variation must only be due to sensor accuracy, but this is beyond the typical accuracy error of the sensors.  I'm not sure what causes the min/max errors beyond the typical errors, but I'd expect it to be at the extreme altitude/temperature limits.  My measurements were of a nominal altitude at a nominal temperature (low 70s F).  Are these errors reasonable and inline with what others have seen?<br />
<br />
Power cycling the units multiple times, they have always read consistently.  The accuracy error over start-ups seems to be consistent.  I didn't test it over temperature or pressure, but I'm assuming it would be due to manufacturing tolerances.  It seems like if I wanted to assume a &quot;truth&quot; measurement, I could create a bias correction unique to each sensor.  It seems like there should be something inappropriate with doing that because it seems like such a bias error would have been addressed in the built-in calibration data.  Thoughts?]]></description>
		</item>
	
		<item>
			<dc:creator>wmatchett</dc:creator>
			<pubDate>Sat, 25 Nov 2017 23:37:28 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=48&amp;p=633679#p633679</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=48&amp;p=633679#p633679</link>
			<title>Re: Circuit Playground Express Capacitive Touch Sensitivity</title>
			<description><![CDATA[Correct, raw_value does not change when the center wire of the coax, connected to A1, is touched and the ground is not touched.<br />
<br />
When both are touched raw value bounces between 1550 and 2500.]]></description>
		</item>
	
		<item>
			<dc:creator>wmatchett</dc:creator>
			<pubDate>Sat, 25 Nov 2017 23:31:30 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=48&amp;p=633678#p633678</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=48&amp;p=633678#p633678</link>
			<title>Re: Circuit Playground Express Capacitive Touch Sensitivity</title>
			<description><![CDATA[In case it helps, here is the code modified for v 2.1<br />
<br />
<dl class="codebox"><dt>Code: <a href="#" onclick="selectCode(this); return false;">Select all</a> | <a href="#" onclick="toggleExpandCodeBox(this); return false;">TOGGLE FULL SIZE</a></dt><dd><code>#CircuitPlaygroundExpress_CapTouch<br />
<br />
import digitalio<br />
import touchio<br />
import board<br />
import time<br />
<br />
touch1 = touchio.TouchIn(board.A1)<br />
touch2 = touchio.TouchIn(board.A2)<br />
<br />
led = digitalio.DigitalInOut(board.D13)<br />
led.direction = digitalio.Direction.OUTPUT<br />
<br />
print(touch1.threshold);<br />
print(&quot;start loop&quot;)<br />
<br />
while True:<br />
&nbsp; &nbsp; print(touch1.raw_value);<br />
&nbsp; &nbsp; if touch1.value:<br />
&nbsp; &nbsp; &nbsp; &nbsp; led.value = True;<br />
&nbsp; &nbsp; elif touch2.value:<br />
&nbsp; &nbsp; &nbsp; &nbsp; led.value = True;<br />
&nbsp; &nbsp; else:<br />
&nbsp; &nbsp; &nbsp; &nbsp; led.value = False;<br />
<br />
&nbsp; &nbsp; time.sleep(0.2)<br />
</code></dd></dl>]]></description>
		</item>
	
		<item>
			<dc:creator>felixlee0530</dc:creator>
			<pubDate>Sat, 25 Nov 2017 23:29:54 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=8&amp;p=633677#p633677</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=8&amp;p=633677#p633677</link>
			<title>Adafruit Holiday Shipping.. Question?</title>
			<description><![CDATA[I recently saw a notice that Adafruit will delay their shipping arrival dates due to holiday shipping.<br />
<br />
Because I'm living in Thailand, I may have to use the <span style="font-weight: bold">UPS Worldwide Saver or DHL Express Worldwide.</span><br />
<br />
In the notice, it says:<br />
<blockquote class="uncited"><div>UPS WORLDWIDE EXPRESS, UPS WORLDWIDE EXPEDITED and UPS EXPRESS SAVER (UPS International orders): Place orders by Friday 11 am ET – December 8, 2017 – There is no guarantee that international packages will arrive by December 22, 2017.<br />
<br />
DHL EXPRESS WORLDWIDE: Place orders by Friday 11 am ET – December 8, 2017 – There is no guarantee that international packages will arrive by December 22, 2017.</div></blockquote><br />
I'm not sure what you're saying in the quote. Is it mean that if I place the order before December 8th 2017, <span style="font-weight: bold">then will the package arrive by around December 22nd or later?</span><br />
<br />
Can you <span style="font-weight: bold">clarify</span> me what the quote means? <span style="font-weight: bold">What will happen if I place order later than December 8th?</span>]]></description>
		</item>
	
		<item>
			<dc:creator>danhalbert</dc:creator>
			<pubDate>Sat, 25 Nov 2017 23:29:53 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=48&amp;p=633676#p633676</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=48&amp;p=633676#p633676</link>
			<title>Re: Circuit Playground Express Capacitive Touch Sensitivity</title>
			<description><![CDATA[Do you mean whether you touch the far end of the A1 wire or not, the raw value does not really change, and hovers around 4068? The far end of the grounded wire (or shield) is not being touched or connected, right?]]></description>
		</item>
	
		<item>
			<dc:creator>wmatchett</dc:creator>
			<pubDate>Sat, 25 Nov 2017 23:24:46 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=48&amp;p=633675#p633675</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=48&amp;p=633675#p633675</link>
			<title>Re: Circuit Playground Express Capacitive Touch Sensitivity</title>
			<description><![CDATA[Ok, the coax didn't take too long to prep and test.  And I got the EXACT same results and I mean exact.  The threshold was 4168 and the raw_value bounced between 4068 and 4072.  <br />
<br />
This seems odd to me.  With a totally different wire which would have different characteristics the numbers are the same.  Is there some sort of ceiling on the board that is being hit that makes this setup unusable?<br />
<br />
I am open to ideas.]]></description>
		</item>
	
		<item>
			<dc:creator>dougskis</dc:creator>
			<pubDate>Sat, 25 Nov 2017 23:23:03 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=50&amp;p=633674#p633674</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=50&amp;p=633674#p633674</link>
			<title>Re: 7 inch TFT HDMI display</title>
			<description><![CDATA[i have picture of connections attached now, sorry. I have a separate power supply supplying power to monitor is why it does not show up in picture. <br />
<br />
Thank you<br />
Doug]]></description>
		</item>
	
		<item>
			<dc:creator>gwells</dc:creator>
			<pubDate>Sat, 25 Nov 2017 23:21:58 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=8&amp;p=633673#p633673</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=8&amp;p=633673#p633673</link>
			<title>Re: Neopixels VU meter</title>
			<description><![CDATA[That was totally it, I just hooked up the strip to an external supply and it's working perfectly, thanks so much!]]></description>
		</item>
	
		<item>
			<dc:creator>wmatchett</dc:creator>
			<pubDate>Sat, 25 Nov 2017 23:17:02 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=48&amp;p=633672#p633672</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=48&amp;p=633672#p633672</link>
			<title>Re: Circuit Playground Express Capacitive Touch Sensitivity</title>
			<description><![CDATA[Ok, my results...<br />
<br />
@danhalbert - Thanks for the info.  I checked the version and I am already running 2.1 but I was looking at older docs.  I am now able to read actual data levels (raw_value) vs boolean.<br />
<br />
@adafruit_support_mike - I pulled a twisted pair out of an 8' cat5 cable and attached one conductor to GND and one to A1.  I modified the code to display the threshold prior to the loop and also display raw_value in each pass of the loop.  Threshold is 4168 and raw_value is between 4068 and 4072 inclusive.  Such a little difference I attribute it to noise.  <br />
<br />
According to the docs threshold is initialized to the config raw_value + 100, so touches are not being noticed at all.<br />
<br />
I have a piece of coax, so I am prepping it to test.]]></description>
		</item>
	
		<item>
			<dc:creator>dougskis</dc:creator>
			<pubDate>Sat, 25 Nov 2017 23:13:30 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=50&amp;p=633671#p633671</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=50&amp;p=633671#p633671</link>
			<title>Re: 7 inch TFT HDMI display</title>
			<description><![CDATA[Picture above is with the Raspi hooked up.<br />
<br />
Thank you<br />
Doug]]></description>
		</item>
	
		<item>
			<dc:creator>gregket1</dc:creator>
			<pubDate>Sat, 25 Nov 2017 22:53:53 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=19&amp;p=633670#p633670</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=19&amp;p=633670#p633670</link>
			<title>Re: VS1053 Blocks serial communication</title>
			<description><![CDATA[I just did this today. <br />
<br />
If (! musicPlayer.playing)<br />
    musicPlayer.startPlaying....]]></description>
		</item>
	
		<item>
			<dc:creator>blehrman</dc:creator>
			<pubDate>Sat, 25 Nov 2017 22:53:25 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=57&amp;p=633669#p633669</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=57&amp;p=633669#p633669</link>
			<title>Re: Adalogger Featherwing can't read SD card</title>
			<description><![CDATA[Thank you!!!!]]></description>
		</item>
	
		<item>
			<dc:creator>bfntn1</dc:creator>
			<pubDate>Sat, 25 Nov 2017 22:36:00 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=50&amp;p=633668#p633668</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=50&amp;p=633668#p633668</link>
			<title>Re: New to Raspberry Pi question about power?</title>
			<description><![CDATA[I should add that my display is supposedly made for the Raspbery Pi and has a nifty ribbon connector type deal]]></description>
		</item>
	
		<item>
			<dc:creator>pluckylump</dc:creator>
			<pubDate>Sat, 25 Nov 2017 22:34:03 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=8&amp;p=633667#p633667</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=8&amp;p=633667#p633667</link>
			<title>Re: My Raspberry Pi 3 won't power on</title>
			<description><![CDATA[<blockquote><div><cite>adafruit_support_mike wrote:</cite>What voltage do you see on the RasPi's 3.3v and 5v GPIO pins when the RasPi is powered from a USB cable?</div></blockquote><br />
Zero voltage reading on any of the voltage pins.]]></description>
		</item>
	
		<item>
			<dc:creator>bfntn1</dc:creator>
			<pubDate>Sat, 25 Nov 2017 22:24:45 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=50&amp;p=633666#p633666</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=50&amp;p=633666#p633666</link>
			<title>New to Raspberry Pi question about power?</title>
			<description><![CDATA[I have a Raspberry Pi 3 that I am going to attempt to wire with a 7&quot; screen and some 8ohm, 3 watt speakers.<br />
<br />
First off I don't know if I am wording this correctly, but I am hoping to connect them without USB, by connecting them to the board itself, first off is this possible? I think it should be, secondly would the Raspberry Pi even provide enough power to do this?]]></description>
		</item>
	
		<item>
			<dc:creator>xerlium1987</dc:creator>
			<pubDate>Sat, 25 Nov 2017 22:24:36 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=8&amp;p=633665#p633665</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=8&amp;p=633665#p633665</link>
			<title>Re: Adafruit Bluefruit LE UART Friend</title>
			<description><![CDATA[Hi Rick,<br />
<br />
I tried to do the following from the website: (I followed step by step)<br />
<br />
Ack! I &quot;did something&quot; and now when I plug in the Feather, it doesn't show up as a device anymore so I cant upload to it or fix it...<br />
No problem! You can 'repair' a bad code upload easily. Note that this can happen if you set a watchdog timer or sleep mode that stops USB, or any sketch that 'crashes' your Feather<br />
Turn on verbose upload in the Arduino IDE preferences<br />
Plug in feather 32u4/M0, it won't show up as a COM/serial port that's ok<br />
Open up the Blink example (Examples-&gt;Basics-&gt;Blink)<br />
Select the correct board in the Tools menu, e.g. Feather 32u4 or Feather M0 (check your board to make sure you have the right one selected!)<br />
Compile it (make sure that works)<br />
Click Upload to attempt to upload the code<br />
The IDE will print out a bunch of COM Ports as it tries to upload. During this time, double-click the reset button, you'll see the red pulsing LED that tells you its now in bootloading mode<br />
The Feather will show up as the Bootloader COM/Serial port<br />
The IDE should see the bootloader COM/Serial port and upload properly<br />
<br />
Remarks: I have also tried the Device Recovery at the following website but it still doesn't work:<br />
<!-- m --><a class="postlink" href="https://learn.adafruit.com/adafruit-feather-32u4-bluefruit-le/device-recovery">https://learn.adafruit.com/adafruit-fea ... e-recovery</a><!-- m --><br />
<br />
<br />
<br />
<br />
From the both of the websites, when we follow the step by step, it should be able to upload properly and we by right should be able to see our COM/Serial port as shown in the website, however, i have gotten this output during my upload:<br />
<br />
PORTS {} / {} =&gt; {}<br />
PORTS {} / {} =&gt; {}<br />
PORTS {} / {} =&gt; {}<br />
PORTS {} / {} =&gt; {}<br />
PORTS {} / {} =&gt; {}<br />
PORTS {} / {} =&gt; {}<br />
PORTS {} / {} =&gt; {}<br />
PORTS {} / {} =&gt; {}<br />
PORTS {} / {} =&gt; {}<br />
PORTS {} / {} =&gt; {}<br />
PORTS {} / {} =&gt; {}<br />
PORTS {} / {} =&gt; {}<br />
PORTS {} / {} =&gt; {}<br />
PORTS {} / {} =&gt; {}<br />
PORTS {} / {} =&gt; {}<br />
PORTS {} / {} =&gt; {}<br />
PORTS {} / {} =&gt; {}<br />
PORTS {} / {} =&gt; {}<br />
PORTS {} / {} =&gt; {}<br />
PORTS {} / {} =&gt; {}<br />
PORTS {} / {} =&gt; {}<br />
PORTS {} / {} =&gt; {}<br />
PORTS {} / {} =&gt; {}<br />
PORTS {} / {} =&gt; {}<br />
PORTS {} / {} =&gt; {}<br />
PORTS {} / {} =&gt; {}<br />
PORTS {} / {} =&gt; {}<br />
PORTS {} / {} =&gt; {}<br />
PORTS {} / {} =&gt; {}<br />
PORTS {} / {} =&gt; {}<br />
PORTS {} / {} =&gt; {}<br />
PORTS {} / {} =&gt; {}<br />
PORTS {} / {} =&gt; {}<br />
PORTS {} / {} =&gt; {}<br />
PORTS {} / {} =&gt; {}<br />
PORTS {} / {} =&gt; {}<br />
PORTS {} / {} =&gt; {}<br />
PORTS {} / {} =&gt; {}<br />
PORTS {} / {} =&gt; {}<br />
PORTS {} / {} =&gt; {}<br />
Couldn't find a Board on the selected port. Check that you have the correct port selected.  If it is correct, try pressing the board's reset button after initiating the upload.<br />
<br />
<br />
Please help me Rick! I will need to present my things on Tuesday, 28 November 2017 which is in 2 days time, so i am quite worried about it now.<br />
<br />
Thank you! =D]]></description>
		</item>
	
		<item>
			<dc:creator>asabibi</dc:creator>
			<pubDate>Sat, 25 Nov 2017 22:14:58 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=45&amp;p=633664#p633664</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=45&amp;p=633664#p633664</link>
			<title>ADXL335 malfunction</title>
			<description><![CDATA[I received the ADXL335, but the output from the 3Vo and the three axis (x,y,z) is 4.2 V when  input voltage of 5V is applied. The accelerometer is not responding.]]></description>
		</item>
	
		<item>
			<dc:creator>3cm2</dc:creator>
			<pubDate>Sat, 25 Nov 2017 21:15:05 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=50&amp;p=633663#p633663</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=50&amp;p=633663#p633663</link>
			<title>Google AIY Voice Kit VS Google Home</title>
			<description><![CDATA[Does the Google AIY Voice Kit ( <a href="https://www.adafruit.com/product/3602" class="postlink">https://www.adafruit.com/product/3602</a> ) have the same functionality as Google Home?]]></description>
		</item>
	
		<item>
			<dc:creator>yenhui</dc:creator>
			<pubDate>Sat, 25 Nov 2017 20:12:45 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=57&amp;p=633662#p633662</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=57&amp;p=633662#p633662</link>
			<title>FeartherM0 with ISR and RFM69</title>
			<description><![CDATA[I am using 2 Feather Wings (RFM69HCW 900MHZ: <!-- m --><a class="postlink" href="https://www.adafruit.com/products/3229">https://www.adafruit.com/products/3229</a><!-- m -->) each connected to a Feather M0 Adalogger (<!-- m --><a class="postlink" href="https://www.adafruit.com/products/2796">https://www.adafruit.com/products/2796</a><!-- m -->). One device is the transmitter (on a Windows 7 laptop with Arduino IDE 1.6.12) and the other device is the receiver (on a Windows 8 laptop with Arduino IDE 1.8.0).<br />
<br />
I need to use an interrupt service routine (ISR) with a timer on my transmitter Feather M0, and I found an ISR that can be used with the Feather M0, and it evidently uses timer 5 and timer 4:<br />
<br />
<dl class="codebox"><dt>Code: <a href="#" onclick="selectCode(this); return false;">Select all</a> | <a href="#" onclick="toggleExpandCodeBox(this); return false;">TOGGLE FULL SIZE</a></dt><dd><code>/*<br />
This sketch illustrates how to set a timer on an SAMD21 based board in Arduino (Feather M0, Arduino Zero should work)<br />
*/<br />
<br />
uint32_t sampleRate = 1000000; //sample rate of the sine wave in Hertz, how many times per second the TC5_Handler() function gets called per second basically<br />
<br />
#define LED_PIN 13 //just for an example<br />
bool state = 0; //just for an example<br />
<br />
<br />
void setup() {<br />
&nbsp; pinMode(LED_PIN,OUTPUT); //this configures the LED pin, you can remove this it's just example code<br />
&nbsp; tcConfigure(sampleRate); //configure the timer to run at &lt;sampleRate&gt;Hertz<br />
&nbsp; tcStartCounter(); //starts the timer<br />
}<br />
<br />
void loop() {<br />
&nbsp; //tcDisable(); //This function can be used anywhere if you need to stop/pause the timer<br />
&nbsp; //tcReset(); //This function should be called everytime you stop the timer<br />
}<br />
<br />
//this function gets called by the interrupt at &lt;sampleRate&gt;Hertz<br />
void TC5_Handler (void) {<br />
&nbsp; //YOUR CODE HERE <br />
&nbsp; if(state == true) {<br />
&nbsp; &nbsp; digitalWrite(LED_PIN,HIGH);<br />
&nbsp; } else {<br />
&nbsp; &nbsp; digitalWrite(LED_PIN,LOW);<br />
&nbsp; }<br />
&nbsp; state = !state;<br />
&nbsp; // END OF YOUR CODE<br />
&nbsp; TC5-&gt;COUNT16.INTFLAG.bit.MC0 = 1; //don't change this, it's part of the timer code<br />
}<br />
<br />
/* <br />
&nbsp;*&nbsp; TIMER SPECIFIC FUNCTIONS FOLLOW<br />
&nbsp;*&nbsp; you shouldn't change these unless you know what you're doing<br />
&nbsp;*/<br />
<br />
//Configures the TC to generate output events at the sample frequency.<br />
//Configures the TC in Frequency Generation mode, with an event output once<br />
//each time the audio sample frequency period expires.<br />
&nbsp;void tcConfigure(int sampleRate)<br />
{<br />
&nbsp;// Enable GCLK for TCC2 and TC5 (timer counter input clock)<br />
&nbsp;GCLK-&gt;CLKCTRL.reg = (uint16_t) (GCLK_CLKCTRL_CLKEN | GCLK_CLKCTRL_GEN_GCLK0 | GCLK_CLKCTRL_ID(GCM_TC4_TC5)) ;<br />
&nbsp;while (GCLK-&gt;STATUS.bit.SYNCBUSY);<br />
<br />
&nbsp;tcReset(); //reset TC5<br />
<br />
&nbsp;// Set Timer counter Mode to 16 bits<br />
&nbsp;TC5-&gt;COUNT16.CTRLA.reg |= TC_CTRLA_MODE_COUNT16;<br />
&nbsp;// Set TC5 mode as match frequency<br />
&nbsp;TC5-&gt;COUNT16.CTRLA.reg |= TC_CTRLA_WAVEGEN_MFRQ;<br />
&nbsp;//set prescaler and enable TC5<br />
&nbsp;TC5-&gt;COUNT16.CTRLA.reg |= TC_CTRLA_PRESCALER_DIV1024 | TC_CTRLA_ENABLE;<br />
&nbsp;//set TC5 timer counter based off of the system clock and the user defined sample rate or waveform<br />
&nbsp;TC5-&gt;COUNT16.CC&#91;0&#93;.reg = (uint16_t) (SystemCoreClock / sampleRate - 1);<br />
&nbsp;while (tcIsSyncing());<br />
&nbsp;<br />
&nbsp;// Configure interrupt request<br />
&nbsp;NVIC_DisableIRQ(TC5_IRQn);<br />
&nbsp;NVIC_ClearPendingIRQ(TC5_IRQn);<br />
&nbsp;NVIC_SetPriority(TC5_IRQn, 0);<br />
&nbsp;NVIC_EnableIRQ(TC5_IRQn);<br />
<br />
&nbsp;// Enable the TC5 interrupt request<br />
&nbsp;TC5-&gt;COUNT16.INTENSET.bit.MC0 = 1;<br />
&nbsp;while (tcIsSyncing()); //wait until TC5 is done syncing <br />
} <br />
<br />
//Function that is used to check if TC5 is done syncing<br />
//returns true when it is done syncing<br />
bool tcIsSyncing()<br />
{<br />
&nbsp; return TC5-&gt;COUNT16.STATUS.reg &amp; TC_STATUS_SYNCBUSY;<br />
}<br />
<br />
//This function enables TC5 and waits for it to be ready<br />
void tcStartCounter()<br />
{<br />
&nbsp; TC5-&gt;COUNT16.CTRLA.reg |= TC_CTRLA_ENABLE; //set the CTRLA register<br />
&nbsp; while (tcIsSyncing()); //wait until snyc'd<br />
}<br />
<br />
//Reset TC5 <br />
void tcReset()<br />
{<br />
&nbsp; TC5-&gt;COUNT16.CTRLA.reg = TC_CTRLA_SWRST;<br />
&nbsp; while (tcIsSyncing());<br />
&nbsp; while (TC5-&gt;COUNT16.CTRLA.bit.SWRST);<br />
}<br />
<br />
//disable TC5<br />
void tcDisable()<br />
{<br />
&nbsp; TC5-&gt;COUNT16.CTRLA.reg &amp;= ~TC_CTRLA_ENABLE;<br />
&nbsp; while (tcIsSyncing());<br />
}&nbsp; </code></dd></dl><br />
<br />
I worried that the RFM69 Feather Wing might also be using one or more of the timers on the Feather M0, and so I went to:<br />
<br />
<a href="https://github.com/lowpowerlab/rfm69" class="postlink">https://github.com/lowpowerlab/rfm69</a><br />
<br />
and literally searched all of the RFM69 libraries (e.g., RFM69.cpp, RFM69.h, etc.) for any code containing TC, TCC, clock, CLK, or timer,  but I found none, and so I am assuming that I can use the above ISR on my Feather M0 transmitter without any interference from the RFM69 Feather Wing to which it is connected. Can anyone tell me if this a reasonable assumption? Can ISR's with timers be used on a Feather M0 that connects to a RFM69 Feather Wing without causing a problem between them?<br />
<br />
Any advice would be greatly appreciated.]]></description>
		</item>
	
		<item>
			<dc:creator>2bhandyguy</dc:creator>
			<pubDate>Sat, 25 Nov 2017 20:03:22 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=47&amp;p=633661#p633661</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=47&amp;p=633661#p633661</link>
			<title>Re: Colon on 1.2&quot; 7 segment display</title>
			<description><![CDATA[I am beginning to think that the documentation for the display is incorrect, that the left colon dots cannot be addressed individually. Can anyone confirm they have single dots working?<br />
Thanks!]]></description>
		</item>
	
		<item>
			<dc:creator>negative004</dc:creator>
			<pubDate>Sat, 25 Nov 2017 19:48:01 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=25&amp;p=633660#p633660</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=25&amp;p=633660#p633660</link>
			<title>Re: adafruit fx audio mini sound board 2mb</title>
			<description><![CDATA[hello sir i just want to ask if i can connect my adafruit fx audio mini sound board to a logitech speaker system z103. <br />
<br />
this is the link to the product: <!-- m --><a class="postlink" href="http://compareindia.news18.com/specification/speakers/logitech-z103/91512">http://compareindia.news18.com/specific ... z103/91512</a><!-- m --><br />
<br />
thank you for helping me out. i just want to know if it can work or if it can destroy my sound board]]></description>
		</item>
	
		<item>
			<dc:creator>danhalbert</dc:creator>
			<pubDate>Sat, 25 Nov 2017 19:47:59 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=48&amp;p=633659#p633659</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=48&amp;p=633659#p633659</link>
			<title>Re: Circuit Playground Express Capacitive Touch Sensitivity</title>
			<description><![CDATA[If you upgrade to CircuitPython 2.1, you can set the True/False threshold, and also read the raw value: <!-- m --><a class="postlink" href="http://circuitpython.readthedocs.io/en/2.x/shared-bindings/touchio/TouchIn.html">http://circuitpython.readthedocs.io/en/ ... uchIn.html</a><!-- m -->.  `.threshold` determines whether `.value` returns True or False. It is set to 100 greater than the initial value read when you create the TouchIn object. `.raw_value` returns the current numeric value.<br />
<br />
In CircuitPython 2.0 and before, the threshold value was twice the initial value, making touch pads seem considerably less sensitive than they appear to be in 2.1, with the lowered threshold.]]></description>
		</item>
	
		<item>
			<dc:creator>n6zop</dc:creator>
			<pubDate>Sat, 25 Nov 2017 19:43:34 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=19&amp;p=633658#p633658</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=19&amp;p=633658#p633658</link>
			<title>Re: Smoking Servo/PWM Pi Hat</title>
			<description><![CDATA[<div class="inline-attachment"><!-- ia0 -->Adafruit servo hat.jpg<!-- ia0 --></div>I have tried a computer power supply setup as a bench power supply running 5v at 10 amps, a wall transformer 5v at 2 amps plus 4 AA pack at 6v. The AOD417 chip is getting very hot<div class="inline-attachment"><!-- ia0 -->Adafruit servo hat.jpg<!-- ia0 --></div>]]></description>
		</item>
	
		<item>
			<dc:creator>Bigbob01</dc:creator>
			<pubDate>Sat, 25 Nov 2017 19:35:01 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=50&amp;p=633657#p633657</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=50&amp;p=633657#p633657</link>
			<title>Bad pi zero w</title>
			<description><![CDATA[Ordered 2 Pi Zero W's received order # : 1595420-7273751640<br />
One of the Pi Zero's is defective. It will not show upon router with known good image.<br />
Correct wi -fi config file in Boot.<br />
Image works on all other pi's<br />
Cannot  SSD without IP<br />
Defective Board<br />
Request replacemet<br />
Robert]]></description>
		</item>
	
		<item>
			<dc:creator>brollings</dc:creator>
			<pubDate>Sat, 25 Nov 2017 19:32:53 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=47&amp;p=633656#p633656</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=47&amp;p=633656#p633656</link>
			<title>Re: 7.0 TFT 800x480 w/touchscreen- No picture</title>
			<description><![CDATA[Just got done turning on/off all the selections and testing the config.txt file. every selection has no effect. and it was considerably time consuming. Are there anymore tests to perform before I can get an exchange...]]></description>
		</item>
	
		<item>
			<dc:creator>torpedo51</dc:creator>
			<pubDate>Sat, 25 Nov 2017 19:31:30 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=22&amp;p=633655#p633655</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=22&amp;p=633655#p633655</link>
			<title>Re: Questions about TLC5947</title>
			<description><![CDATA[Can you upload a photo of the board after you wired it and added the resistor?<br />
<br />
I'm a little unclear how to hookup the LEDs to this... <br />
<br />
Thanks]]></description>
		</item>
	
		<item>
			<dc:creator>zener</dc:creator>
			<pubDate>Sat, 25 Nov 2017 19:05:45 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=8&amp;p=633654#p633654</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=8&amp;p=633654#p633654</link>
			<title>Re: A component that gives a pulse of electricity one time w</title>
			<description><![CDATA[There are different ways to build them.  You can definitely get them to do that.  It's call a monostable or one-shot.<br />
<br />
<a href="https://electronics.stackexchange.com/questions/180716/555-timer-one-shot-trigger" class="postlink">https://electronics.stackexchange.com/questions/180716/555-timer-one-shot-trigger</a>]]></description>
		</item>
	
		<item>
			<dc:creator>gpapas11</dc:creator>
			<pubDate>Sat, 25 Nov 2017 18:42:37 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=47&amp;p=633653#p633653</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=47&amp;p=633653#p633653</link>
			<title>Re: 32x18 (Single Color) Video (PWM) LED Matrix</title>
			<description><![CDATA[Hey Hans,<br />
<br />
Do you happen to know why the frequency of the pwm remains the same, even after the fscl of the I2C is increased to 400kHz?<br />
<br />
I probe the the VPwm signal from one of the A1~A9 pins it's frequency is at 1.08kHz regardless of the I2C frequency.<br />
<br />
Thanks a lot!]]></description>
		</item>
	
		<item>
			<dc:creator>KUVINOD7</dc:creator>
			<pubDate>Sat, 25 Nov 2017 18:40:02 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=45&amp;p=633652#p633652</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=45&amp;p=633652#p633652</link>
			<title>Re: Google AIY Reboots</title>
			<description><![CDATA[It started working now. I connected wrong pins. Also by the way, can you help me in finding new projects that i would like to do it in AIY]]></description>
		</item>
	
		<item>
			<dc:creator>Not_Ruffturn</dc:creator>
			<pubDate>Sat, 25 Nov 2017 18:37:44 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=50&amp;p=633651#p633651</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=50&amp;p=633651#p633651</link>
			<title>3.5 tft raspberry pi LCD Help</title>
			<description><![CDATA[Hello,<br />
<br />
I've been trying to get the adafruit tft 3.5&quot; LCD and RetroPie to work on my Pi3. I went through the process here: <br />
<!-- m --><a class="postlink" href="https://learn.adafruit.com/running-opengl-based-games-and-emulators-on-adafruit-pitft-">https://learn.adafruit.com/running-open ... uit-pitft-</a><!-- m --><br />
displays/retropie-setup<br />
<br />
and here:<br />
<!-- m --><a class="postlink" href="https://learn.adafruit.com/running-opengl-based-games-and-emulators-on-adafruit-pitft-displays/pitft-setup">https://learn.adafruit.com/running-open ... itft-setup</a><!-- m --><br />
<br />
When I get to the point where I type &quot;sudo bash pitft-fbcp.sh&quot; and I am given the choice to choose an option, instead of the two that are shown on the page (&quot;PiGRRL2&quot; &amp; &quot;Configure options manually&quot;) I had four options. I don't remember what exactly they were but they weren't the two listed on the screen. I chose manual because nothing else really matched what I needed to do.<br />
<br />
I remember a place where I was given the choice of screen orientation (can't remember which step). I wanted landscape with the power, HDMI &amp; audio connectors pointed up. I thought I chose the right one when I selected (if I remember right) landscape 180.<br />
<br />
I rebooted and it came up in portrait with the power connector to the right with the &quot;RetroPie&quot; logo squished together in the middle of the screen.<br />
<br />
The screen then went black with some small text in the upper left corner (too small to read on a 3.5&quot; screen in landscape) and a flashing cursor in the lower section of he display. Other than that the screen was completely blank. The cursor was in an area that was completely black.<br />
<br />
I finally figured out that this was a log in screen so I blindly typed in the &quot;pi&quot; and password. I also figured out that I needed to, also blindly, type in emulationstation. <br />
<br />
That brought me to Emulation Station. I tried a game in Ports and the screen went black and I had to reboot. <br />
<br />
I tried it again and tried the RetroPie config option. Any option I pick resulted in the GUI flashing quickly and then a black screen.<br />
<br />
I connected an HDMI monitor to the port, logged in as above, and had similar results on both displays.<br />
<br />
Any ideas on how to get this display to work with RetroPie?<br />
<br />
Let me know if you need any more information.<br />
<br />
Thanks]]></description>
		</item>
	
		<item>
			<dc:creator>franklin97355</dc:creator>
			<pubDate>Sat, 25 Nov 2017 18:29:37 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=45&amp;p=633650#p633650</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=45&amp;p=633650#p633650</link>
			<title>Re: Google AIY Reboots</title>
			<description><![CDATA[Can you post some pictures of your connections and tell us how you are testing the voice?]]></description>
		</item>
	
		<item>
			<dc:creator>Panayiotis</dc:creator>
			<pubDate>Sat, 25 Nov 2017 18:23:46 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=8&amp;p=633649#p633649</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=8&amp;p=633649#p633649</link>
			<title>Re: Adafruit DPI TFT Kippah backlit and on/off connections?</title>
			<description><![CDATA[When I use an arduino to output PWM so I can dim the backlit the chip make a strange sound...Why is that?]]></description>
		</item>
	
		<item>
			<dc:creator>gone_bush</dc:creator>
			<pubDate>Sat, 25 Nov 2017 18:14:27 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=19&amp;p=633648#p633648</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=19&amp;p=633648#p633648</link>
			<title>VCNL4010 - Problem with proximity value</title>
			<description><![CDATA[I'm having problems with my Adafruit VCNL4010 device. To get data for this post, I've installed the Python package from <span style="font-style: italic">https://github.com/adafruit/Adafruit_Python_VCNL40xx</span> .<br />
<br />
When I run the <span style="font-style: italic">./Adafruit_Python_VCNL40xx/examples/simpletest.py</span>, I get the following:<br />
<br />
<dl class="codebox"><dt>Code: <a href="#" onclick="selectCode(this); return false;">Select all</a> | <a href="#" onclick="toggleExpandCodeBox(this); return false;">TOGGLE FULL SIZE</a></dt><dd><code>Printing proximity data (press Ctrl-C to quit)...<br />
Proximity=1968, Ambient light=77<br />
Proximity=1968, Ambient light=77<br />
Proximity=1968, Ambient light=78<br />
Proximity=1965, Ambient light=79<br />
Proximity=1967, Ambient light=81<br />
Proximity=1972, Ambient light=80<br />
Proximity=1974, Ambient light=80<br />
Proximity=1966, Ambient light=81<br />
Proximity=2010, Ambient light=74<br />
Proximity=4098, Ambient light=48<br />
Proximity=12249, Ambient light=10<br />
Proximity=11698, Ambient light=37<br />
Proximity=11930, Ambient light=37<br />
Proximity=11951, Ambient light=19<br />
Proximity=11938, Ambient light=16<br />
Proximity=11963, Ambient light=32<br />
Proximity=2091, Ambient light=78<br />
Proximity=1966, Ambient light=78<br />
Proximity=1962, Ambient light=78<br />
Proximity=1968, Ambient light=77<br />
Proximity=1965, Ambient light=77<br />
Proximity=1964, Ambient light=78</code></dd></dl><br />
The large values are when I put my finger right on the sensor. When I hover my hand a few centimetres above the unit, there is no appreciable change in the proximity value.<br />
<br />
Help, and TIA<br />
Kevin]]></description>
		</item>
	
		<item>
			<dc:creator>naj_tom</dc:creator>
			<pubDate>Sat, 25 Nov 2017 18:04:17 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=25&amp;p=633647#p633647</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=25&amp;p=633647#p633647</link>
			<title>Re: MAX31865 PT100 and ARDUINO MEGA2560</title>
			<description><![CDATA[Hi, thank you to solve my mistake now it's working!<br />
<br />
I have one problem how can I connect another one max31865 PT100, and how the code looks like for two temperature sensors (T1 and T2)?]]></description>
		</item>
	
		<item>
			<dc:creator>2bhandyguy</dc:creator>
			<pubDate>Sat, 25 Nov 2017 17:21:40 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=47&amp;p=633646#p633646</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=47&amp;p=633646#p633646</link>
			<title>Re: Colon on 1.2&quot; 7 segment display</title>
			<description><![CDATA[Still not working correctly; both dots int the colon turn on, it does not matter what value 0x0n is ( I tried n= 1,2,4,8.]]></description>
		</item>
	
		<item>
			<dc:creator>adafruit_support_mike</dc:creator>
			<pubDate>Sat, 25 Nov 2017 17:13:40 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=50&amp;p=633645#p633645</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=50&amp;p=633645#p633645</link>
			<title>Re: Error installing new kernal for pitft 3.5 on Pi3</title>
			<description><![CDATA[NOOBs is a bootable disk image that knows how to download and install the full version of a few OS images.  It’s designed to be lightweight and simple, and works on the assumption that you’re starting from a basic hardware setup:  a physical USB keyboard and mouse plugged into the USB ports, and an HDMI monitor for the display.<br />
<br />
A secondary display like a PiTFT isn’t isn’t New-Out-Of-Box hardware, and isn’t something a beginning RasPi user is assumed to have.]]></description>
		</item>
	
		<item>
			<dc:creator>martian</dc:creator>
			<pubDate>Sat, 25 Nov 2017 17:10:47 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=52&amp;p=633644#p633644</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=52&amp;p=633644#p633644</link>
			<title>Re: Trinket boot loader problem?</title>
			<description><![CDATA[Ah, yes, that was a pretty dumb oversight. I recall reading somewhere that the MEGA SPI pins aren’t the same as the UNO.<br />
 <br />
This is what I tried:<br />
 <br />
#define SCK 52 // to Trinket pin 2<br />
#define MISO 50 // to Trinket pin 1<br />
#define MOSI 51  // to Trinket pin 0<br />
#define RESET 10 // to Trinket pin RST<br />
 <br />
Weird thing was the reset pin. I thought it would have to be 53 on the mega, as this is the SPI SS pin corresponding to the uno pin 10, but I was getting no reaction form the trinket button when pressed. I figured since I had gotten  a response when using all the UNO pin numbers, I switched that one back to pin 10 (mega) connected to RST pin on the trinket and, VIOALA! My bootloader works again!<br />
<br />
Any insight into why that reset pin didn't have to go to the slave select?<br />
<br />
Either way, I'm up and running again. <br />
 <br />
Thanks for your help!]]></description>
		</item>
	
		<item>
			<dc:creator>Jeff1701</dc:creator>
			<pubDate>Sat, 25 Nov 2017 17:06:00 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=22&amp;p=633643#p633643</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=22&amp;p=633643#p633643</link>
			<title>Issue with Music Maker MP3 Shield w/3W Stereo Amp - v1.0</title>
			<description><![CDATA[Need some help figuring out my issue using this shield with a Mega.<br />
<br />
I have followed the setup instructions to the letter:<br />
Pin headers and SPI headers are soldered.  Plugs into the Mega with no issue.<br />
MISO, SCK, and MOSI jumpers are closed with solder.<br />
Terminal blocks for speakers are soldered.<br />
<br />
The only thing I did extra was to solder in a 5 pin header for the 3.3V, 5V, GND, GND, VIN pins in case I need those in the future.<br />
<br />
I'm using the player_simple sketch provided with the library.  I changed the file names in lines 77 and 80 to AMB01.mp3 and AMB02.mp3 to match the file names I have on the SD card.  SD card is in place.<br />
<br />
I've tried using lines 43 and 45 (by commenting out one and using the other) to initialize the board, but I get the message in the serial monitor &quot;Couldn't find VS1053, do you have the right pins defined?&quot; regardless of which line of code I use.  <br />
<br />
Any ideas would be greatly appreciated.<br />
<br />
Thanks!]]></description>
		</item>
	
		<item>
			<dc:creator>adafruit_support_mike</dc:creator>
			<pubDate>Sat, 25 Nov 2017 17:05:02 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=50&amp;p=633642#p633642</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=50&amp;p=633642#p633642</link>
			<title>Re: 7 inch TFT HDMI display</title>
			<description><![CDATA[Thanks.  Could you also post a photo showing the connections from the RasPi to the display please?]]></description>
		</item>
	
		<item>
			<dc:creator>adafruit_support_mike</dc:creator>
			<pubDate>Sat, 25 Nov 2017 17:03:18 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=8&amp;p=633641#p633641</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=8&amp;p=633641#p633641</link>
			<title>Re: OSMC/OpenELEC on Pigrrl?</title>
			<description><![CDATA[I’m not sure what kernel and low-level settings OSMC uses, so I’m not sure if it’s possible at all.<br />
<br />
Setting aside the PiGrrl code for a moment, can you install basic PiTFT support on top of the version of OSMC you’re using?]]></description>
		</item>
	
		<item>
			<dc:creator>adafruit_support_mike</dc:creator>
			<pubDate>Sat, 25 Nov 2017 17:00:09 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=8&amp;p=633640#p633640</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=8&amp;p=633640#p633640</link>
			<title>Re: Issues using VS1053 library with Music Maker Feather win</title>
			<description><![CDATA[In that case, you’ll probably need to dig into the VS1053 library to find the exact point of failure.<br />
<br />
It’s the same process you’d use tracing a point of failure in any code:  add Serial.print() statements at the beginning and end of each nested function call to see which one starts and never comes back.  Once you know the function, insert .print()s line by line until you find the part that’s hanging.]]></description>
		</item>
	
		<item>
			<dc:creator>wmatchett</dc:creator>
			<pubDate>Sat, 25 Nov 2017 16:56:13 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=48&amp;p=633639#p633639</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=48&amp;p=633639#p633639</link>
			<title>Re: Circuit Playground Express Capacitive Touch Sensitivity</title>
			<description><![CDATA[Thanks for the excellent response,  I'll try a twisted pair from a cat5 cable and see how it goes. I'll post later tonight with the results.]]></description>
		</item>
	
		<item>
			<dc:creator>adafruit_support_mike</dc:creator>
			<pubDate>Sat, 25 Nov 2017 16:50:46 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=48&amp;p=633638#p633638</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=48&amp;p=633638#p633638</link>
			<title>Re: Circuit Playground Express Capacitive Touch Sensitivity</title>
			<description><![CDATA[For that kind of length, you’ll probably need to use twisted-pair or coaxial cable.<br />
<br />
All conductors have some amount of parasitic capacitance with the world around them (mathematically, to an infintely large plate an infinite distance away).  The value is proportional to the surface area of the conductor, and a six-foot wire has a fairly large surface area.. certainly enough to pick up noise from any flourescent lights in the room.  It also has enough inductance to pick up noise from cell phones and radio, plus the 60-cycle hum from wall power.<br />
<br />
To detect a few picofarads of change at that distance, you need to neutralize as much of the parasitic input as possible.  Twisted-pair with the second wire connected to GND will give the signal wire’s parasitic capacitance another plate that’s much closer and has much more influence than anything farther away.  The GND wire will also help cancel the inductive input.<br />
<br />
If twisted-pair doesn’t work, then you’ll need coax.  That puts the grounded shield all the way around the signal wire, and has an explicitly defined capacitance (about 10pF per meter for 0.1” RG-174, and about 60pF per meter for 0.25” RG-59 television coax).]]></description>
		</item>
	
		<item>
			<dc:creator>adafruit_support_bill</dc:creator>
			<pubDate>Sat, 25 Nov 2017 16:37:37 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=25&amp;p=633637#p633637</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=25&amp;p=633637#p633637</link>
			<title>Re: adafruit-vs1053</title>
			<description><![CDATA[@mt057 - Please start a new thread for your question.]]></description>
		</item>
	
		<item>
			<dc:creator>adafruit_support_bill</dc:creator>
			<pubDate>Sat, 25 Nov 2017 16:35:31 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=47&amp;p=633636#p633636</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=47&amp;p=633636#p633636</link>
			<title>Re: Colon on 1.2&quot; 7 segment display</title>
			<description><![CDATA[Python is strange that way.  The first argument is implied.  Just pass in the 0x08.<br />
<br />
segment.set_left_colon(0x08)<br />
.]]></description>
		</item>
	
		<item>
			<dc:creator>jpuigdef</dc:creator>
			<pubDate>Sat, 25 Nov 2017 16:32:07 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=19&amp;p=633635#p633635</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=19&amp;p=633635#p633635</link>
			<title>Re: ultimate gps logger &amp; I2C problem</title>
			<description><![CDATA[the gps readings without barometer are<br />
<br />
41.6355	2.7073	 <br />
41.6355	2.7073	 <br />
41.6355	2.7073	 <br />
41.6355	2.7073	 <br />
...<br />
<br />
with the barometer (wich is well readen) they look like<br />
<br />
$0.0000	0.0000	-0.77<br />
G0.0000	0.0000	-0.52<br />
P0.0000	0.0000	-0.86<br />
R0.0000	0.0000	-1.21<br />
M0.0000	0.0000	-0.83<br />
C0.0000	0.0000	-0.70<br />
,0.0000	0.0000	-0.80<br />
20.0000	0.0000	-0.87<br />
10.0000	0.0000	-0.77<br />
20.0000	0.0000	-1.17<br />
50.0000	0.0000	-1.24<br />
00.0000	0.0000	-0.83<br />
$0.0000	0.0000	-0.96]]></description>
		</item>
	
		<item>
			<dc:creator>marsthrax</dc:creator>
			<pubDate>Sat, 25 Nov 2017 16:31:29 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=8&amp;p=633634#p633634</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=8&amp;p=633634#p633634</link>
			<title>Re: Issues using VS1053 library with Music Maker Feather win</title>
			<description><![CDATA[<blockquote><div><cite>adafruit_support_mike wrote:</cite>Try using the boolean value musicPlayer.playingMusic in your conditional rather than not-.stopped().<br />
<br />
.stopped() assumes you called .startPlayingFile() first, which isn’t necessarily true (before you play the first file, for instance).</div></blockquote><br />
<br />
Thanks for the tip. I have tried that (and just tried it again). Unfortunately it doesn't change the behavior in in my case. It *seems* like using isPlaying causes the device to be more likely to  just restart itself (which I guess is slightly better than completely halting or busy waiting or whatever it is doing, since that requires me to reset it), but I can still get into a state where my program just doesn't continue (loop is never called again, and it never completes the function that is trying to stop the playback).]]></description>
		</item>
	
		<item>
			<dc:creator>mt057</dc:creator>
			<pubDate>Sat, 25 Nov 2017 16:27:29 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=25&amp;p=633633#p633633</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=25&amp;p=633633#p633633</link>
			<title>Re: adafruit-vs1053</title>
			<description><![CDATA[I am having trouble getting the music maker shield to play music from an SD card. The &quot;midi-test&quot; script works as expected. When attempting to use the &quot;player simple&quot; script I get no sound from the speakers or headphone jack. I am trying to use both a wav file and mp3 file. In the com window, it appears that the SD card is being read but it completes &quot;playing&quot; the music in under 10 seconds. One track is less than a minute long the other is 4 minutes long. The entire process from initialization to &quot;Done playing&quot; is under 30 seconds. Is there something I am missing? Thank you for your time and help.<br />
<br />
<dl class="codebox"><dt>Code: <a href="#" onclick="selectCode(this); return false;">Select all</a> | <a href="#" onclick="toggleExpandCodeBox(this); return false;">TOGGLE FULL SIZE</a></dt><dd><code>/*************************************************** <br />
&nbsp; This is an example for the Adafruit VS1053 Codec Breakout<br />
<br />
&nbsp; Designed specifically to work with the Adafruit VS1053 Codec Breakout <br />
&nbsp; ----&gt; https://www.adafruit.com/products/1381<br />
<br />
&nbsp; Adafruit invests time and resources providing this open source code, <br />
&nbsp; please support Adafruit and open-source hardware by purchasing <br />
&nbsp; products from Adafruit!<br />
<br />
&nbsp; Written by Limor Fried/Ladyada for Adafruit Industries.&nbsp; <br />
&nbsp; BSD license, all text above must be included in any redistribution<br />
&nbsp;****************************************************/<br />
<br />
// include SPI, MP3 and SD libraries<br />
#include &lt;SPI.h&gt;<br />
#include &lt;Adafruit_VS1053.h&gt;<br />
#include &lt;SD.h&gt;<br />
<br />
// define the pins used<br />
#define CLK 13&nbsp; &nbsp; &nbsp; &nbsp;// SPI Clock, shared with SD card<br />
#define MISO 12&nbsp; &nbsp; &nbsp; // Input data, from VS1053/SD card<br />
#define MOSI 11&nbsp; &nbsp; &nbsp; // Output data, to VS1053/SD card<br />
// Connect CLK, MISO and MOSI to hardware SPI pins. <br />
// See http://arduino.cc/en/Reference/SPI &quot;Connections&quot;<br />
<br />
// These are the pins used for the breakout example<br />
//#define BREAKOUT_RESET&nbsp; 9&nbsp; &nbsp; &nbsp; // VS1053 reset pin (output)<br />
//#define BREAKOUT_CS&nbsp; &nbsp; &nbsp;10&nbsp; &nbsp; &nbsp;// VS1053 chip select pin (output)<br />
//#define BREAKOUT_DCS&nbsp; &nbsp; 8&nbsp; &nbsp; &nbsp; // VS1053 Data/command select pin (output)<br />
// These are the pins used for the music maker shield<br />
#define SHIELD_RESET&nbsp; -1&nbsp; &nbsp; &nbsp; // VS1053 reset pin (unused!)<br />
#define SHIELD_CS&nbsp; &nbsp; &nbsp;7&nbsp; &nbsp; &nbsp; // VS1053 chip select pin (output)<br />
#define SHIELD_DCS&nbsp; &nbsp; 6&nbsp; &nbsp; &nbsp; // VS1053 Data/command select pin (output)<br />
<br />
// These are common pins between breakout and shield<br />
#define CARDCS 4&nbsp; &nbsp; &nbsp;// Card chip select pin<br />
// DREQ should be an Int pin, see http://arduino.cc/en/Reference/attachInterrupt<br />
#define DREQ 3&nbsp; &nbsp; &nbsp; &nbsp;// VS1053 Data request, ideally an Interrupt pin<br />
<br />
Adafruit_VS1053_FilePlayer musicPlayer = <br />
&nbsp; // create breakout-example object!<br />
&nbsp; //Adafruit_VS1053_FilePlayer(BREAKOUT_RESET, BREAKOUT_CS, BREAKOUT_DCS, DREQ, CARDCS);<br />
&nbsp; // create shield-example object!<br />
&nbsp; Adafruit_VS1053_FilePlayer(SHIELD_RESET, SHIELD_CS, SHIELD_DCS, DREQ, CARDCS);<br />
&nbsp; <br />
void setup() {<br />
&nbsp; Serial.begin(9600);<br />
&nbsp; Serial.println(&quot;Adafruit VS1053 Simple Test&quot;);<br />
<br />
&nbsp; if (! musicPlayer.begin()) { // initialise the music player<br />
&nbsp; &nbsp; &nbsp;Serial.println(F(&quot;Couldn't find VS1053, do you have the right pins defined?&quot;));<br />
&nbsp; &nbsp; &nbsp;while (1);<br />
&nbsp; }<br />
&nbsp; Serial.println(F(&quot;VS1053 found&quot;));<br />
&nbsp; <br />
&nbsp; &nbsp;if (!SD.begin(CARDCS)) {<br />
&nbsp; &nbsp; Serial.println(F(&quot;SD failed, or not present&quot;));<br />
&nbsp; &nbsp; while (1);&nbsp; // don't do anything more<br />
&nbsp; }<br />
<br />
&nbsp; // list files<br />
&nbsp; printDirectory(SD.open(&quot;/&quot;), 0);<br />
&nbsp; <br />
&nbsp; // Set volume for left, right channels. lower numbers == louder volume!<br />
&nbsp; musicPlayer.setVolume(120,120);<br />
<br />
&nbsp; // Timer interrupts are not suggested, better to use DREQ interrupt!<br />
&nbsp; //musicPlayer.useInterrupt(VS1053_FILEPLAYER_TIMER0_INT); // timer int<br />
<br />
&nbsp; // If DREQ is on an interrupt pin (on uno, #2 or #3) we can do background<br />
&nbsp; // audio playing<br />
&nbsp; musicPlayer.useInterrupt(VS1053_FILEPLAYER_PIN_INT);&nbsp; // DREQ int<br />
&nbsp; <br />
&nbsp; // Play one file, don't return until complete<br />
&nbsp; Serial.println(F(&quot;Playing track 001&quot;));<br />
&nbsp; musicPlayer.playFullFile(&quot;track001.mp3&quot;);<br />
&nbsp; // Play another file in the background, REQUIRES interrupts!<br />
&nbsp; Serial.println(F(&quot;Playing track 002&quot;));<br />
&nbsp; musicPlayer.startPlayingFile(&quot;track002.mp3&quot;);<br />
}<br />
<br />
void loop() {<br />
&nbsp; // File is playing in the background<br />
&nbsp; if (musicPlayer.stopped()) {<br />
&nbsp; &nbsp; Serial.println(&quot;Done playing music&quot;);<br />
&nbsp; &nbsp; while (1) {<br />
&nbsp; &nbsp; &nbsp; delay(10);&nbsp; // we're done! do nothing...<br />
&nbsp; &nbsp; }<br />
&nbsp; }<br />
&nbsp; if (Serial.available()) {<br />
&nbsp; &nbsp; char c = Serial.read();<br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; // if we get an 's' on the serial console, stop!<br />
&nbsp; &nbsp; if (c == 's') {<br />
&nbsp; &nbsp; &nbsp; musicPlayer.stopPlaying();<br />
&nbsp; &nbsp; }<br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; // if we get an 'p' on the serial console, pause/unpause!<br />
&nbsp; &nbsp; if (c == 'p') {<br />
&nbsp; &nbsp; &nbsp; if (! musicPlayer.paused()) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; Serial.println(&quot;Paused&quot;);<br />
&nbsp; &nbsp; &nbsp; &nbsp; musicPlayer.pausePlaying(true);<br />
&nbsp; &nbsp; &nbsp; } else { <br />
&nbsp; &nbsp; &nbsp; &nbsp; Serial.println(&quot;Resumed&quot;);<br />
&nbsp; &nbsp; &nbsp; &nbsp; musicPlayer.pausePlaying(false);<br />
&nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; }<br />
&nbsp; }<br />
<br />
&nbsp; delay(100);<br />
}<br />
<br />
<br />
/// File listing helper<br />
void printDirectory(File dir, int numTabs) {<br />
&nbsp; &nbsp;while(true) {<br />
&nbsp; &nbsp; &nbsp;<br />
&nbsp; &nbsp; &nbsp;File entry =&nbsp; dir.openNextFile();<br />
&nbsp; &nbsp; &nbsp;if (! entry) {<br />
&nbsp; &nbsp; &nbsp; &nbsp;// no more files<br />
&nbsp; &nbsp; &nbsp; &nbsp;//Serial.println(&quot;**nomorefiles**&quot;);<br />
&nbsp; &nbsp; &nbsp; &nbsp;break;<br />
&nbsp; &nbsp; &nbsp;}<br />
&nbsp; &nbsp; &nbsp;for (uint8_t i=0; i&lt;numTabs; i++) {<br />
&nbsp; &nbsp; &nbsp; &nbsp;Serial.print('\t');<br />
&nbsp; &nbsp; &nbsp;}<br />
&nbsp; &nbsp; &nbsp;Serial.print(entry.name());<br />
&nbsp; &nbsp; &nbsp;if (entry.isDirectory()) {<br />
&nbsp; &nbsp; &nbsp; &nbsp;Serial.println(&quot;/&quot;);<br />
&nbsp; &nbsp; &nbsp; &nbsp;printDirectory(entry, numTabs+1);<br />
&nbsp; &nbsp; &nbsp;} else {<br />
&nbsp; &nbsp; &nbsp; &nbsp;// files have sizes, directories do not<br />
&nbsp; &nbsp; &nbsp; &nbsp;Serial.print(&quot;\t\t&quot;);<br />
&nbsp; &nbsp; &nbsp; &nbsp;Serial.println(entry.size(), DEC);<br />
&nbsp; &nbsp; &nbsp;}<br />
&nbsp; &nbsp; &nbsp;entry.close();<br />
&nbsp; &nbsp;}<br />
}<br />
</code></dd></dl>]]></description>
		</item>
	
		<item>
			<dc:creator>newyorker</dc:creator>
			<pubDate>Sat, 25 Nov 2017 16:22:08 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=51&amp;p=633632#p633632</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=51&amp;p=633632#p633632</link>
			<title>Re: Gemma bootloader not working -- faint glow from D1</title>
			<description><![CDATA[Not yet -- I'll try that on Monday, and post the results back here. Thanks!]]></description>
		</item>
	
		<item>
			<dc:creator>adafruit_support_mike</dc:creator>
			<pubDate>Sat, 25 Nov 2017 16:21:24 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=8&amp;p=633631#p633631</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=8&amp;p=633631#p633631</link>
			<title>Re: Neopixels VU meter</title>
			<description><![CDATA[Hmm.. as a sanity check, what voltage do you see between the strip’s positive and negative power connections?]]></description>
		</item>
	
		<item>
			<dc:creator>adafruit_support_mike</dc:creator>
			<pubDate>Sat, 25 Nov 2017 16:20:11 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=8&amp;p=633630#p633630</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=8&amp;p=633630#p633630</link>
			<title>Re: Issues using VS1053 library with Music Maker Feather win</title>
			<description><![CDATA[Try using the boolean value musicPlayer.playingMusic in your conditional rather than not-.stopped().<br />
<br />
.stopped() assumes you called .startPlayingFile() first, which isn’t necessarily true (before you play the first file, for instance).]]></description>
		</item>
	
		<item>
			<dc:creator>Jritti</dc:creator>
			<pubDate>Sat, 25 Nov 2017 16:13:44 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=8&amp;p=633629#p633629</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=8&amp;p=633629#p633629</link>
			<title>Re: A component that gives a pulse of electricity one time w</title>
			<description><![CDATA[I have been doing some research and if there is constant power to the input source then the led will stay on forever and that is not what I am looking for. I want it to be so if power is applied then a short pulse is sent out one time, even if the power stays on.]]></description>
		</item>
	
		<item>
			<dc:creator>cheshire1980</dc:creator>
			<pubDate>Sat, 25 Nov 2017 16:02:40 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=50&amp;p=633628#p633628</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=50&amp;p=633628#p633628</link>
			<title>Re: New Raspberry Pi Zero W with bad USB</title>
			<description><![CDATA[I am plugging them in one at a time, so that I do not overload the usb. I am using a simple  OTG adapter shown in my picture. additionally, if I put a brand new sdcard with a fresh copy of raspi, it still does not work<br />
<br />
<div class="inline-attachment"><!-- ia0 -->Image2.png<!-- ia0 --></div>]]></description>
		</item>
	
		<item>
			<dc:creator>MikeB2017</dc:creator>
			<pubDate>Sat, 25 Nov 2017 16:01:44 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=53&amp;p=633627#p633627</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=53&amp;p=633627#p633627</link>
			<title>BlueFruit Sniffer - Red LED</title>
			<description><![CDATA[Just needing to understand the LED information for the device as I have the following situation:  I started experimenting with the Sniffer, a BLE device, and a phone.  When I initially launch &quot;ble-sniffer_win_1.0.1_1111_Sniffer.exe&quot; I get the flickering BLUE LED and occasionally flickering YELLOW LED but as soon as I select the device (arrow key to select -&gt; Enter) then the BLUE LED flickers, the RED LED turns on and stays on, and the YELLOW LED flickers occasionally.  I can still launch and use Wireshark but I can reach a state where there is no more capture and the BLUE LED goes out.  Then the RED and YELLOW LED's then start to blink alternately.  What do the various LED colours and behaviour represent?  Where could I find that info?  TIA for any guidance or assistance.]]></description>
		</item>
	
		<item>
			<dc:creator>franklin97355</dc:creator>
			<pubDate>Sat, 25 Nov 2017 16:01:07 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=19&amp;p=633626#p633626</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=19&amp;p=633626#p633626</link>
			<title>Re: ultimate gps logger &amp; I2C problem</title>
			<description><![CDATA[I would try adding the variable declarations at the top of the sketch along with baseline to keep housekeeping in the functions to a minimum. Also, if you could post some of the output that might help us find a solution.]]></description>
		</item>
	
		<item>
			<dc:creator>Rucus</dc:creator>
			<pubDate>Sat, 25 Nov 2017 16:00:02 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=57&amp;p=633625#p633625</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=57&amp;p=633625#p633625</link>
			<title>Re: ADDING ANOTHER I2C CHANNEL USING SERCOM</title>
			<description><![CDATA[Hi,<br />
<br />
Thanks! Is there currently a library for TCS34725 that would allow me to pass two different I2C channels?<br />
<br />
Kind Regards,]]></description>
		</item>
	
		<item>
			<dc:creator>franklin97355</dc:creator>
			<pubDate>Sat, 25 Nov 2017 15:55:12 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=51&amp;p=633624#p633624</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=51&amp;p=633624#p633624</link>
			<title>Re: Gemma bootloader not working -- faint glow from D1</title>
			<description><![CDATA[Have you tried reloading the bootloader yet? <a href="https://learn.adafruit.com/introducing-trinket/repairing-bootloader" class="postlink">https://learn.adafruit.com/introducing-trinket/repairing-bootloader</a>]]></description>
		</item>
	
		<item>
			<dc:creator>Shawnp123</dc:creator>
			<pubDate>Sat, 25 Nov 2017 15:50:17 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=8&amp;p=633623#p633623</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=8&amp;p=633623#p633623</link>
			<title>Re: Defective pi zero w</title>
			<description><![CDATA[Can i also get s replacement pi noir. That item seems to have failed with the pi w]]></description>
		</item>
	
		<item>
			<dc:creator>adafruit_support_carter</dc:creator>
			<pubDate>Sat, 25 Nov 2017 15:46:44 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=8&amp;p=633622#p633622</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=8&amp;p=633622#p633622</link>
			<title>Re: Defective pi zero w</title>
			<description><![CDATA[Email <!-- e --><a href="mailto:support@adafruit.com">support@adafruit.com</a><!-- e --> with a link to this thread and your order number for a replacement Pi Zero W.<br />
<br />
When you get the new one, make sure it works by using that simple test linked above and then also try booting it with Raspbian Lite before moving on to setting it up with octoprint.]]></description>
		</item>
	
		<item>
			<dc:creator>newyorker</dc:creator>
			<pubDate>Sat, 25 Nov 2017 15:43:15 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=51&amp;p=633621#p633621</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=51&amp;p=633621#p633621</link>
			<title>Gemma bootloader not working -- faint glow from D1</title>
			<description><![CDATA[I just got an Adafruit Gemma 8MHz (microUSB) and followed the steps to upload the blink sketch.<br />
After pressing upload, I'm only getting avrdude errors: &quot;Could not find USBtiny device&quot;<br />
<br />
On the physical Gemma, I press the Reset button but don't get the pulsing red light from D1 as described. Instead, it's a barely visible red glow for 2 seconds, then D1 turns off.<br />
<br />
Could this be a hardware issue? This is the first time I'm using this board. Thanks!]]></description>
		</item>
	
		<item>
			<dc:creator>jpuigdef</dc:creator>
			<pubDate>Sat, 25 Nov 2017 15:43:10 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=19&amp;p=633620#p633620</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=19&amp;p=633620#p633620</link>
			<title>ultimate gps logger &amp; I2C problem</title>
			<description><![CDATA[Hi, I have an 'ultimate GPS logger shield' working on an arduino uno. When tested alone it works fine. But if I try to add a pressure sensor (octopus barometer) to the sketch, the GPS readings become bad. <br />
<br />
It seems to me as if there is an interference between the I2C and the soft serial of the GPS shield? I would appreciate your advise<br />
<br />
thanks<br />
<br />
<br />
<br />
<br />
The sketch I use is:<br />
<br />
<br />
<dl class="codebox"><dt>Code: <a href="#" onclick="selectCode(this); return false;">Select all</a> | <a href="#" onclick="toggleExpandCodeBox(this); return false;">TOGGLE FULL SIZE</a></dt><dd><code>#include &lt;Adafruit_GPS.h&gt;<br />
#include &lt;SoftwareSerial.h&gt;<br />
#include &lt;Wire.h&gt;<br />
#include &lt;SFE_BMP180.h&gt; //pel baròmetre, és octopuc però la llibreria sparkfun està millor<br />
<br />
SFE_BMP180 pressure; //creo un objetcte SFE_BMP180<br />
double baseline; // baseline pressure<br />
<br />
SoftwareSerial mySerial(8, 7);<br />
Adafruit_GPS GPS(&amp;mySerial);<br />
#define GPSECHO&nbsp; true<br />
<br />
void setup()&nbsp; <br />
{<br />
&nbsp; Serial.begin(115200);<br />
&nbsp; delay(1000);<br />
<br />
&nbsp; GPS.begin(9600);<br />
&nbsp; GPS.sendCommand(PMTK_SET_NMEA_OUTPUT_RMCONLY);<br />
&nbsp; GPS.sendCommand(PMTK_SET_NMEA_UPDATE_1HZ);&nbsp; &nbsp;// 1 Hz update rate<br />
&nbsp; GPS.sendCommand(PGCMD_ANTENNA);<br />
&nbsp; mySerial.println(PMTK_Q_RELEASE);<br />
<br />
&nbsp; pressure.begin(); <br />
&nbsp; baseline = getPressure();<br />
<br />
}<br />
<br />
void loop()&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;// run over and over again<br />
{<br />
&nbsp; int fix=0; float latitud; float longitud; float SOG; float COG; <br />
<br />
&nbsp; // OCTOPUS<br />
&nbsp; double h_octopus,p_octopus;<br />
&nbsp; p_octopus = getPressure();<br />
&nbsp; h_octopus = pressure.altitude(p_octopus,baseline);&nbsp; &nbsp; &nbsp;//relative altitude difference between the new reading and the baseline reading:&nbsp; &nbsp; &nbsp; <br />
<br />
&nbsp; char c = GPS.read();<br />
&nbsp; if ((c) &amp;&amp; (GPSECHO))<br />
&nbsp; &nbsp; Serial.write(c); <br />
&nbsp; <br />
&nbsp; if (GPS.newNMEAreceived()) {<br />
&nbsp; &nbsp; if (!GPS.parse(GPS.lastNMEA()))&nbsp; &nbsp;// this also sets the newNMEAreceived() flag to false<br />
&nbsp; &nbsp; &nbsp; return;&nbsp; // we can fail to parse a sentence in which case we should just wait for another<br />
&nbsp; }<br />
&nbsp; latitud=GPS.latitudeDegrees; longitud=GPS.longitudeDegrees;<br />
&nbsp; Serial.print(latitud,4);Serial.print(&quot;\t&quot;);<br />
&nbsp; Serial.print(longitud,4);Serial.print(&quot;\t&quot;);<br />
&nbsp; Serial.println(h_octopus);<br />
}<br />
<br />
<br />
<br />
double getPressure()<br />
{<br />
&nbsp; char status;<br />
&nbsp; double t_octopus,p_octopus,p0,a;<br />
<br />
&nbsp; // You must first get a temperature measurement to perform a pressure reading.<br />
&nbsp; <br />
&nbsp; // Start a temperature measurement:<br />
&nbsp; // If request is successful, the number of ms to wait is returned.<br />
&nbsp; // If request is unsuccessful, 0 is returned.<br />
<br />
&nbsp; status = pressure.startTemperature();<br />
&nbsp; if (status != 0)<br />
&nbsp; {<br />
&nbsp; &nbsp; // Wait for the measurement to complete:<br />
<br />
&nbsp; &nbsp; delay(status);<br />
<br />
&nbsp; &nbsp; // Retrieve the completed temperature measurement:<br />
&nbsp; &nbsp; // Note that the measurement is stored in the variable t_octopus.<br />
&nbsp; &nbsp; // Use '&amp;t_octopus' to provide the address of t_octopus to the function.<br />
&nbsp; &nbsp; // Function returns 1 if successful, 0 if failure.<br />
<br />
&nbsp; &nbsp; status = pressure.getTemperature(t_octopus);<br />
&nbsp; &nbsp; if (status != 0)<br />
&nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; // Start a pressure measurement:<br />
&nbsp; &nbsp; &nbsp; // The parameter is the oversampling setting, from 0 to 3 (highest res, longest wait).<br />
&nbsp; &nbsp; &nbsp; // If request is successful, the number of ms to wait is returned.<br />
&nbsp; &nbsp; &nbsp; // If request is unsuccessful, 0 is returned.<br />
<br />
&nbsp; &nbsp; &nbsp; status = pressure.startPressure(3);<br />
&nbsp; &nbsp; &nbsp; if (status != 0)<br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; // Wait for the measurement to complete:<br />
&nbsp; &nbsp; &nbsp; &nbsp; delay(status);<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; // Retrieve the completed pressure measurement:<br />
&nbsp; &nbsp; &nbsp; &nbsp; // Note that the measurement is stored in the variable p_octopus.<br />
&nbsp; &nbsp; &nbsp; &nbsp; // Use '&amp;p_octopus' to provide the address of p_octopus.<br />
&nbsp; &nbsp; &nbsp; &nbsp; // Note also that the function requires the previous temperature measurement (t_octopus).<br />
&nbsp; &nbsp; &nbsp; &nbsp; // (If temperature is stable, you can do one temperature measurement for a number of pressure measurements.)<br />
&nbsp; &nbsp; &nbsp; &nbsp; // Function returns 1 if successful, 0 if failure.<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; status = pressure.getPressure(p_octopus,t_octopus);<br />
&nbsp; &nbsp; &nbsp; &nbsp; if (status != 0)<br />
&nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return(p_octopus);<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; else Serial.println(&quot;error retrieving pressure measurement\n&quot;);<br />
&nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; else Serial.println(&quot;error starting pressure measurement\n&quot;);<br />
&nbsp; &nbsp; }<br />
&nbsp; &nbsp; else Serial.println(&quot;error retrieving temperature measurement\n&quot;);<br />
&nbsp; }<br />
&nbsp; else Serial.println(&quot;error starting temperature measurement\n&quot;);<br />
} </code></dd></dl>]]></description>
		</item>
	
		<item>
			<dc:creator>Giv</dc:creator>
			<pubDate>Sat, 25 Nov 2017 15:32:27 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=57&amp;p=633619#p633619</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=57&amp;p=633619#p633619</link>
			<title>Re: Adafruit Feather 32u4 Bluefruit LE</title>
			<description><![CDATA[Hi,<br />
<br />
I am now trying to get the Adafruit Feather 32u4 Bluefruit LE working with RPi and I2C.  How do I put it into Slave mode or I2C mode or what is the Slave address on this module?!  I have it connected without the pull up resistors to the RPi.  I have other components attached to RPi with I2C and when I run &quot;i2cdetect -y 1&quot; from RPi, I do see the slave addresses of the other components (see below), but none for the &quot;Adafruit Feather 32u4 Bluefruit LE &quot;. <br />
<br />
I also loaded the &quot;Atcommand&quot; sketch into Arduino and tried to use the &quot;<span style="font-style: italic">AT+HWI2CSCAN</span>&quot; from the serial line, but nothing comes back.  <br />
<br />
<br />
/Giviprog# i2cdetect -y 1<br />
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f<br />
00:          -- -- -- -- -- -- -- -- -- -- -- -- --<br />
10: -- -- -- -- -- -- -- -- -- -- -- UU -- -- -- --<br />
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --<br />
30: -- -- -- -- 34 -- -- -- -- -- -- -- -- -- -- --<br />
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --<br />
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --<br />
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --<br />
70: -- -- -- -- -- -- -- --<br />
<br />
<br />
Thank you for your help.<br />
<br />
<br />
Regards,<br />
<br />
<br />
Givi]]></description>
		</item>
	
		<item>
			<dc:creator>testuser12</dc:creator>
			<pubDate>Sat, 25 Nov 2017 15:21:17 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=19&amp;p=633617#p633617</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=19&amp;p=633617#p633617</link>
			<title>Re: LoRa Shield on Raspberry</title>
			<description><![CDATA[It finally works out. I recognized that the pins on the adafruit shield are named in an other scheme, e.g. D == G (thanks to <!-- m --><a class="postlink" href="https://learn.adafruit.com/assets/31773">https://learn.adafruit.com/assets/31773</a><!-- m -->)<br />
<br />
Now I used this project: <!-- m --><a class="postlink" href="https://github.com/ernstdevreede/lmic_pi">https://github.com/ernstdevreede/lmic_pi</a><!-- m -->]]></description>
		</item>
	
		<item>
			<dc:creator>fstanleyidaho</dc:creator>
			<pubDate>Sat, 25 Nov 2017 15:07:15 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=19&amp;p=633616#p633616</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=19&amp;p=633616#p633616</link>
			<title>Re: Metro Express M0 USB port gone bad</title>
			<description><![CDATA[double punching the reset brought back the lights......where was that in the documentation?  I am able to up load BLINK and have it run. The Mac still gives the Disconnect error when the unit resets.]]></description>
		</item>
	
		<item>
			<dc:creator>rigdowntex</dc:creator>
			<pubDate>Sat, 25 Nov 2017 15:07:11 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=50&amp;p=633615#p633615</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=50&amp;p=633615#p633615</link>
			<title>Re: Error installing new kernal for pitft 3.5 on Pi3</title>
			<description><![CDATA[Thanks, will do shortly. What's the difference between NOOBs and Stretch?]]></description>
		</item>
	
		<item>
			<dc:creator>KUVINOD7</dc:creator>
			<pubDate>Sat, 25 Nov 2017 14:47:54 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=45&amp;p=633614#p633614</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=45&amp;p=633614#p633614</link>
			<title>Google AIY Reboots</title>
			<description><![CDATA[Hello - I just received an Google AIY Voice Kit. As soon as i test the Voice, the AIY reboots. Not sure what needs to be looked in]]></description>
		</item>
	
		<item>
			<dc:creator>Shawnp123</dc:creator>
			<pubDate>Sat, 25 Nov 2017 14:41:44 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=8&amp;p=633613#p633613</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=8&amp;p=633613#p633613</link>
			<title>Re: Defective pi zero w</title>
			<description><![CDATA[Yes, everything in the picture came out of the package that way.]]></description>
		</item>
	
		<item>
			<dc:creator>adafruit_support_carter</dc:creator>
			<pubDate>Sat, 25 Nov 2017 14:41:21 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=47&amp;p=633612#p633612</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=47&amp;p=633612#p633612</link>
			<title>Re: 7.0 TFT 800x480 w/touchscreen- No picture</title>
			<description><![CDATA[OK. Let's continue trouble shooting with this more direct connection. Take a look at the info here:<br />
<!-- m --><a class="postlink" href="https://learn.adafruit.com/adafruit-tfp401-hdmi-slash-dvi-decoder-to-40-pin-ttl-display/raspberry-pi-config">https://learn.adafruit.com/adafruit-tfp ... -pi-config</a><!-- m --><br />
and see if any of that helps.]]></description>
		</item>
	
		<item>
			<dc:creator>adafruit_support_carter</dc:creator>
			<pubDate>Sat, 25 Nov 2017 14:39:06 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=8&amp;p=633611#p633611</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=8&amp;p=633611#p633611</link>
			<title>Re: Defective pi zero w</title>
			<description><![CDATA[Doesn't sound good. Also just noticed the camera connector looks damaged. The black retaining clip is missing:<br />
<div class="inline-attachment"><!-- ia0 -->csi_connector.jpg<!-- ia0 --></div><br />
Did it come that way and if so was the part loose in the shipping bag? Wondering if this could explain why the board appears to be dead also. Like maybe damaged in shipping?]]></description>
		</item>
	
		<item>
			<dc:creator>brollings</dc:creator>
			<pubDate>Sat, 25 Nov 2017 14:32:13 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=47&amp;p=633610#p633610</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=47&amp;p=633610#p633610</link>
			<title>Re: 7.0 TFT 800x480 w/touchscreen- No picture</title>
			<description><![CDATA[Yes, I just connected the 40 pin connector from the touchscreen into the hdmi decoder, no sign of life from the tft display.]]></description>
		</item>
	
		<item>
			<dc:creator>McNutt666</dc:creator>
			<pubDate>Sat, 25 Nov 2017 14:29:49 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=8&amp;p=633609#p633609</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=8&amp;p=633609#p633609</link>
			<title>OSMC/OpenELEC on Pigrrl?</title>
			<description><![CDATA[I am attempting to make a separate SD card with a media center OS for use on the PiGrrl 2 i have tried using the PiTFT software to set up resolution so it shows up on the pigrrl and that does not seem to work of any of the OS's i have tried, does anyone have any ideas? <br />
<br />
<br />
<br />
P.S. this is a gift for a family member.]]></description>
		</item>
	
		<item>
			<dc:creator>wmatchett</dc:creator>
			<pubDate>Sat, 25 Nov 2017 14:17:46 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=48&amp;p=633608#p633608</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=48&amp;p=633608#p633608</link>
			<title>Re: Circuit Playground Express Capacitive Touch Sensitivity</title>
			<description><![CDATA[I have restarted after every wiring change, including complete power off/on.  This does not affect the results.]]></description>
		</item>
	
		<item>
			<dc:creator>adafruit_support_carter</dc:creator>
			<pubDate>Sat, 25 Nov 2017 14:11:06 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=8&amp;p=633607#p633607</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=8&amp;p=633607#p633607</link>
			<title>Re: manicure lamp 100 ohm resistor question</title>
			<description><![CDATA[1/4W resistors will work fine.]]></description>
		</item>
	
		<item>
			<dc:creator>xTamx420</dc:creator>
			<pubDate>Sat, 25 Nov 2017 14:09:30 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=52&amp;p=633606#p633606</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=52&amp;p=633606#p633606</link>
			<title>Re: Trinket M0 i2c issues</title>
			<description><![CDATA[never mind, reset should have been powered. I am a dumb dumb.]]></description>
		</item>
	
		<item>
			<dc:creator>treewilly</dc:creator>
			<pubDate>Sat, 25 Nov 2017 14:08:40 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=19&amp;p=633605#p633605</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=19&amp;p=633605#p633605</link>
			<title>Controlling Adafruit RGB LED Matrix via RGB HAT</title>
			<description><![CDATA[Hello, <br />
<br />
I have hooked up my raspberry pi 3 to the adafruit RGB matrix HAT. - and have set up the 16x32 LED Mãtrix to the HAT. Basically, everything is going okay, all the tests and demos work. The thing is, I need to be able to control individual LEDs, as I need to program a pong game, and have it display it on the LED Matrix.<br />
<br />
Is this even possible?<br />
<br />
Thank you so much.]]></description>
		</item>
	
		<item>
			<dc:creator>franklin97355</dc:creator>
			<pubDate>Sat, 25 Nov 2017 14:05:43 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=52&amp;p=633603#p633603</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=52&amp;p=633603#p633603</link>
			<title>Re: Trinket M0 i2c issues</title>
			<description><![CDATA[Can you post some pictures of your setup and connections? It sounds like a missing ground path somewhere.]]></description>
		</item>
	
		<item>
			<dc:creator>adafruit_support_carter</dc:creator>
			<pubDate>Sat, 25 Nov 2017 14:04:53 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=25&amp;p=633602#p633602</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=25&amp;p=633602#p633602</link>
			<title>Re: MAX31865 PT100 and ARDUINO MEGA2560</title>
			<description><![CDATA[Looks like you also need to cut the small trace on the jumper circled below:<br />
<div class="inline-attachment"><!-- ia0 -->cut_trace.png<!-- ia0 --></div><br />
More info:<br />
<!-- m --><a class="postlink" href="https://learn.adafruit.com/adafruit-max31865-rtd-pt100-amplifier/rtd-wiring-config#3-wire-sensors">https://learn.adafruit.com/adafruit-max ... re-sensors</a><!-- m -->]]></description>
		</item>
	
		<item>
			<dc:creator>Shawnp123</dc:creator>
			<pubDate>Sat, 25 Nov 2017 14:03:24 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=8&amp;p=633601#p633601</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=8&amp;p=633601#p633601</link>
			<title>Re: Defective pi zero w</title>
			<description><![CDATA[Computer doesn't recognize when I plug data cord into usb.]]></description>
		</item>
	
		<item>
			<dc:creator>Pok06aya</dc:creator>
			<pubDate>Sat, 25 Nov 2017 14:03:04 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=25&amp;p=633600#p633600</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=25&amp;p=633600#p633600</link>
			<title>Re: Problem with my arduino atmega 2560 r3 for android</title>
			<description><![CDATA[Yes it is a rwgular isb cable. Just don't need mini or micro plug. Cable plugs into the computer to the 2560. So both ends I believe take a 2.0 plug.]]></description>
		</item>
	
		<item>
			<dc:creator>xTamx420</dc:creator>
			<pubDate>Sat, 25 Nov 2017 13:52:23 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=52&amp;p=633599#p633599</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=52&amp;p=633599#p633599</link>
			<title>Trinket M0 i2c issues</title>
			<description><![CDATA[Hello,<br />
<br />
I am having issues with my trinket M0 while using i2c. I have a code that just scans for i2c addresses and prints them.<br />
<br />
I have it all set up on a breadboard and the chip I am using is an MCP23008 IO expander and the addressing pins are set such that the address will be &quot;0x20&quot;<br />
<br />
When I run my code it gets varied results. It seems like when I'm touching the base plate of the breadboard it works just fine and prints 0x20 but when I am not touching it, no addresses are found.<br />
<br />
I have mostly been using 4.7k pullups but have also tried 2.2k and having a couple 4.7k's in series (all out of 10k's). I have even tried some 10-100 pF caps on the i2c lines to try and get rid of some noise. And most recently, I tried a 0.1uF filter cap on the VDD line for the chip. Nothing I've done has changed how my thing works.<br />
<br />
I've also dismantled it and reassembled it three times now so I doubt it would be a mistake in my wiring. I have nothing on the GPIO pins right now, A0, A1 and A2 are grounded, RESET and INT are left floating. I have used exactly this same circuit successfully with an STM Nucleo board recently.<br />
<br />
So is my trinket M0 defective or are they just bad at i2c???<br />
<br />
<br />
EDIT: I also tried 2 different MCP23008 chips with identical results.]]></description>
		</item>
	
		<item>
			<dc:creator>franklin97355</dc:creator>
			<pubDate>Sat, 25 Nov 2017 13:48:17 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=25&amp;p=633598#p633598</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=25&amp;p=633598#p633598</link>
			<title>Re: MAX31865 PT100 and ARDUINO MEGA2560</title>
			<description><![CDATA[For three wire probes you need to cut the trace between the 2/4 pad and the center pad <a href="https://learn.adafruit.com/adafruit-max31865-rtd-pt100-amplifier/wiring-test#wiring-test" class="postlink">Check out the tutorial</a>.]]></description>
		</item>
	
		<item>
			<dc:creator>adafruit_support_carter</dc:creator>
			<pubDate>Sat, 25 Nov 2017 13:46:41 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=50&amp;p=633597#p633597</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=50&amp;p=633597#p633597</link>
			<title>Re: New Raspberry Pi Zero W with bad USB</title>
			<description><![CDATA[You're plugging the devices in one a time? What kind of USB OTG adapter are you using?]]></description>
		</item>
	
		<item>
			<dc:creator>adafruit_support_carter</dc:creator>
			<pubDate>Sat, 25 Nov 2017 13:43:08 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=8&amp;p=633596#p633596</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=8&amp;p=633596#p633596</link>
			<title>Re: Defective pi zero w</title>
			<description><![CDATA[Try this check:<br />
<!-- m --><a class="postlink" href="https://learn.adafruit.com/raspberry-pi-zero-creation/is-my-pi-zero-dead">https://learn.adafruit.com/raspberry-pi ... -zero-dead</a><!-- m -->]]></description>
		</item>
	
		<item>
			<dc:creator>adafruit_support_carter</dc:creator>
			<pubDate>Sat, 25 Nov 2017 13:40:25 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=48&amp;p=633595#p633595</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=48&amp;p=633595#p633595</link>
			<title>Re: Circuit Playground Express Capacitive Touch Sensitivity</title>
			<description><![CDATA[Try the reset /recal suggestion from here:<br />
<!-- m --><a class="postlink" href="https://learn.adafruit.com/adafruit-circuit-playground-express/adafruit2-circuitpython-cap-touch">https://learn.adafruit.com/adafruit-cir ... -cap-touch</a><!-- m --><br />
<blockquote class="uncited"><div>You may need to restart your code/board after changing the attached item because the capacitive touch code 'calibrates' based on what it sees when it first starts up. So if you get too many touch-signals or not enough, hit that reset button!</div></blockquote>]]></description>
		</item>
	
		<item>
			<dc:creator>franklin97355</dc:creator>
			<pubDate>Sat, 25 Nov 2017 13:37:34 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=8&amp;p=633594#p633594</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=8&amp;p=633594#p633594</link>
			<title>Re: Is there a pin diagram for the microb-f 1829 ?</title>
			<description><![CDATA[I'll ask if there is an Official Adafruit pinout for that.]]></description>
		</item>
	
		<item>
			<dc:creator>franklin97355</dc:creator>
			<pubDate>Sat, 25 Nov 2017 13:35:13 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=19&amp;p=633593#p633593</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=19&amp;p=633593#p633593</link>
			<title>Re: LiPo Batteries Connectors Breaking</title>
			<description><![CDATA[<blockquote class="uncited"><div>Is it different from a glue gun I would find at a craft store?</div></blockquote> No, same thing.]]></description>
		</item>
	
		<item>
			<dc:creator>adafruit_support_carter</dc:creator>
			<pubDate>Sat, 25 Nov 2017 13:28:47 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=25&amp;p=633592#p633592</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=25&amp;p=633592#p633592</link>
			<title>Re: Gemma v2 Loading Programs</title>
			<description><![CDATA[Have you gone through the guide to set things up?<br />
<!-- m --><a class="postlink" href="https://learn.adafruit.com/introducing-gemma/introduction">https://learn.adafruit.com/introducing- ... troduction</a><!-- m --><br />
What computer and operating system are you using to try and program the Gemma?]]></description>
		</item>
	
		<item>
			<dc:creator>fwalker007</dc:creator>
			<pubDate>Sat, 25 Nov 2017 13:26:34 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=8&amp;p=633591#p633591</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=8&amp;p=633591#p633591</link>
			<title>Re: Is there a pin diagram for the microb-f 1829 ?</title>
			<description><![CDATA[Weird. I think. <br />
Any idea why I would be getting a 5v when connecting the last pin  and the metal body of the female adaptor ? :)<br />
The first and last pin do not give me any voltage ! :(]]></description>
		</item>
	
		<item>
			<dc:creator>adafruit_support_carter</dc:creator>
			<pubDate>Sat, 25 Nov 2017 13:25:11 -0500</pubDate>
			<guid>https://forums.adafruit.com/viewtopic.php?f=19&amp;p=633590#p633590</guid>
			<link>https://forums.adafruit.com/viewtopic.php?f=19&amp;p=633590#p633590</link>
			<title>Re: Polar Heart Rate Starter Pack Issue</title>
			<description><![CDATA[Can you post a better photo of the solder job on the header pins for the receiver unit.]]></description>
		</item>
	
</channel>
</rss>