<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Loop a wave file</title><link>https://sourceforge.net/p/wavepro/wiki/Loop%2520a%2520wave%2520file/</link><description>Recent changes to Loop a wave file</description><atom:link href="https://sourceforge.net/p/wavepro/wiki/Loop%20a%20wave%20file/feed" rel="self"/><language>en</language><lastBuildDate>Tue, 06 Nov 2012 12:13:34 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/wavepro/wiki/Loop%20a%20wave%20file/feed" rel="self" type="application/rss+xml"/><item><title>WikiPage Loop a wave file modified by Majenko Technologies</title><link>https://sourceforge.net/p/wavepro/wiki/Loop%2520a%2520wave%2520file/</link><description>&lt;pre&gt;--- v2
+++ v3
@@ -2,6 +2,23 @@
 
 ~~~~~
 :::C++
+// The WavePro uses SPI, so you need to include the
+// SPI library first.
+#include &lt;SPI.h&gt;
+#include &lt;WavePro.h&gt;
+
+void setup()
+{
+    // Start up and configure the board
+    WavePro.begin();
+    
+    // Start playing the looped file
+    WavePro.play_loop("LOOP.WAV");
+}
+
+void loop()
+{
+}
 ~~~~~
 
 ----
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Majenko Technologies</dc:creator><pubDate>Tue, 06 Nov 2012 12:13:34 -0000</pubDate><guid>https://sourceforge.netad0eaf98ada773150a1a1c7c2c21ee3f9d3cd132</guid></item><item><title>WikiPage Loop a wave file modified by Majenko Technologies</title><link>https://sourceforge.net/p/wavepro/wiki/Loop%2520a%2520wave%2520file/</link><description>&lt;pre&gt;--- v1
+++ v2
@@ -1,4 +1,8 @@
 Looping a file can be even simpler than playing them manually.  This small snippet will start playing a wave file in a continuous loop forever.
 
+~~~~~
+:::C++
+~~~~~
+
 ----
-:::C++
+Part of: [Examples]
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Majenko Technologies</dc:creator><pubDate>Tue, 06 Nov 2012 12:12:43 -0000</pubDate><guid>https://sourceforge.netaa47a159b60d88aaa474ba3fcf4b64b28b04179b</guid></item><item><title>WikiPage Loop a wave file modified by Majenko Technologies</title><link>https://sourceforge.net/p/wavepro/wiki/Loop%2520a%2520wave%2520file/</link><description>Looping a file can be even simpler than playing them manually.  This small snippet will start playing a wave file in a continuous loop forever.

----
:::C++
</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Majenko Technologies</dc:creator><pubDate>Tue, 06 Nov 2012 12:12:16 -0000</pubDate><guid>https://sourceforge.netf69fd9127801bd346ad9add36dcd7b622c13b832</guid></item></channel></rss>