<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-4932027356853323421</id><updated>2011-07-30T13:00:35.382-07:00</updated><category term='zug'/><category term='secret santa'/><category term='prank'/><category term='hack'/><category term='south park'/><category term='hacking'/><category term='gab'/><category term='big mouth billy bass'/><category term='fish'/><title type='text'>The Secret Santa 2009</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://thesecretsanta2009.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4932027356853323421/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://thesecretsanta2009.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Will</name><uri>http://www.blogger.com/profile/11796140042319547706</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>1</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4932027356853323421.post-6447169634169236952</id><published>2010-01-17T09:10:00.000-08:00</published><updated>2010-01-17T17:48:45.612-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='secret santa'/><category scheme='http://www.blogger.com/atom/ns#' term='prank'/><category scheme='http://www.blogger.com/atom/ns#' term='zug'/><category scheme='http://www.blogger.com/atom/ns#' term='fish'/><category scheme='http://www.blogger.com/atom/ns#' term='gab'/><category scheme='http://www.blogger.com/atom/ns#' term='big mouth billy bass'/><category scheme='http://www.blogger.com/atom/ns#' term='south park'/><category scheme='http://www.blogger.com/atom/ns#' term='hacking'/><category scheme='http://www.blogger.com/atom/ns#' term='hack'/><title type='text'></title><content type='html'>&lt;div align="center"&gt;&lt;strong&gt;&lt;span style="color:#ffffff;"&gt;The Secret Santa 2009 Project&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;&lt;br /&gt;&lt;center&gt;Sound of video NSFW&lt;/center&gt;&lt;br /&gt;&lt;center&gt;&lt;object width="425" height="344"&gt;&lt;param name="movie" value="http://www.youtube.com/v/1ZXQrOQ1In0&amp;amp;hl=en_US&amp;amp;fs=1&amp;amp;"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;embed src="http://www.youtube.com/v/1ZXQrOQ1In0&amp;hl=en_US&amp;fs=1&amp;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/center&gt;&lt;br /&gt;&lt;center&gt;&lt;a href="http://i246.photobucket.com/albums/gg94/gigavolt/Pics/hacks/SS09/front_labeled.jpg"&gt;Hi Res Pic&lt;/a&gt;&lt;/center&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;I built this as a Secret Santa gift for a comedy website I frequent. It's basically a Big Mouth Billy Bass (BMBB) made to speak a selection of inside jokes. It features a 10 position switch that can select 10 different people (we call them gAberS, or used to anyway. It's a long story.) The display lets you know who is selected. Once a GabbEr is selected, you depress the red play button. Then the fish will speak the inside joke for that gaBBeR.&lt;br /&gt;&lt;br /&gt;You can view my victims reaction along with pictures and video on the website &lt;a href="http://www.zug.com/live/83585/The-Best-Secret-Santa-Gift-Ever-Three-Cheers-for-Manhole.html#1054133081"&gt;here&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;From the engineering side, the Secret Santa 2009 (SS09) consists of a main or CPU board, a power supply board, a hacked Rio MP3 player, a 4x20 LCD display and an audio amplifier board ripped from an old pair of computer speakers.&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#000000;"&gt;&lt;strong&gt;&lt;span style="color:#ffffff;"&gt;MAIN CPU BOARD&lt;/span&gt;&lt;/strong&gt; &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The CPU board has a pair of 18F452 PICs. One controls the BMBB and MP3 player. The other is dedicated to the display. Various LEDs and the 10 position switch are connected to both PICs. The fish has three motors to move its head, tail and mouth. I used TIP3055's t0 drive the mouth and tail. I used two relays to move the head due to its large current draw. The stock BMBB used 6vdc to control all three motors. I used 6vdc for the mouth and tail and both 4 and 6vdc for the head. If you apply only 4 volts to it, it will move half way and stop. This allowed me to make the BMBB more animated. This action can be seen in the video.&lt;br /&gt;&lt;br /&gt;I used an ADG202, which is just a handful of switches in an IC, to control the MP3 player. More on this under the MP3 player section. I also used an ADG202 to short the motor for the head when power was removed. It's pulled back in place by a spring, and if you don't short the coils, the head slams into the base.&lt;br /&gt;&lt;br /&gt;I used capacitors and diodes to shunt any voltages produced from the motor coils. I had to use a toroid for the head motor. It kept locking up until I put the toroid in place. It's on the schematic as a isolation XFMR because I couldn't find a toroid in Eagle.&lt;br /&gt;&lt;br /&gt;The schematic is &lt;a href="http://i246.photobucket.com/albums/gg94/gigavolt/Pics/hacks/SS09/SS09.png"&gt;here.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#ffffff;"&gt;&lt;strong&gt;MP3 PLAYER&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;This is the second MP3 player I have hacked. I used the &lt;a href="http://www.google.com/products/catalog?hl=en&amp;amp;q=egg+mp3+player&amp;amp;ved=0CB0QzAMwAg&amp;amp;cid=10001295360842140510&amp;amp;sa=title#p"&gt;EGG MP3 player&lt;/a&gt; for my &lt;a href="http://www.zug.com/live/80720/Secret-Santa-MacGyver-lt-Best-Ever.html"&gt;Secret Santa 2008&lt;/a&gt; last year. This year I used a &lt;a href="http://novatechgadgets.com/fu128mb.html"&gt;RIO Fuse MP3 player&lt;/a&gt; that I got off craigslist for $8, which sux as far as hacking is concerned. &lt;/p&gt;&lt;p&gt;More pics of the Secret Santa 2008 (SS08) &lt;a href="http://s246.photobucket.com/albums/gg94/gigavolt/Pics/hacks/SS08/"&gt;here.&lt;/a&gt;&lt;/p&gt;&lt;p&gt;First, the EGG was dream to hack. It has a built in amplifier. Second, it can be powered off 12VDC. Third, hacking the switches is cake. It just puts ground on one side. For the the track advance, you have to put ground through a 100 ohm resistor on the track advance switch.&lt;br /&gt;&lt;br /&gt;The only downside is that there is no built in memory. You need an SD card or USB stick. I used a USB stick. There is also no display, so it can be difficult to figure out whats going on. &lt;/p&gt;&lt;p&gt;Pictures of the hacked EGG MP3 player can been in the SS08 link above.&lt;br /&gt;&lt;br /&gt;The Rio Fuse has built in memory and a display, so that made hacking it easier. But the switches were difficult to deal with, the pins are so close together. And making the 1.5VDC means extra components. I also had major problems with noise coming from the LM317, more on that later. &lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;a href="http://1.bp.blogspot.com/_J08j7zRLUvQ/S1NN7__A0zI/AAAAAAAAABI/CjlFwwIrO4I/s1600-h/mp3_4.JPG"&gt;&lt;img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 320px; DISPLAY: block; HEIGHT: 240px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5427767669094929202" border="0" alt="" src="http://1.bp.blogspot.com/_J08j7zRLUvQ/S1NN7__A0zI/AAAAAAAAABI/CjlFwwIrO4I/s320/mp3_4.JPG" /&gt;&lt;/a&gt; &lt;center&gt;&lt;a href="http://i246.photobucket.com/albums/gg94/gigavolt/Pics/hacks/SS09/mp3_2.jpg"&gt;Hi&lt;/a&gt; &lt;a href="http://i246.photobucket.com/albums/gg94/gigavolt/Pics/hacks/SS09/mp3_1.jpg"&gt;Res&lt;/a&gt; &lt;a href="http://i246.photobucket.com/albums/gg94/gigavolt/Pics/hacks/SS09/mp3_4.jpg"&gt;pics&lt;/a&gt;.&lt;/center&gt;&lt;br /&gt;&lt;div align="left"&gt;&lt;/div&gt;&lt;div align="left"&gt;&lt;span style="color:#ffffff;"&gt;The power on switch and volume control just puts 1.5vdc from one side of the switch to the other, so that was easy. For the play, track advance, and stop, it shorted a particular pin to a common pin, which was not ground or Vdd. I determined this with a scope. So I used the ADG202 switch IC to interface the MP3 player with the the PIC. So if I wanted to play an mp3 file, the PIC, through the ADG202, would turn the player on, turn the volume to max, go to the track I want, play the track, delay, stop the track, then turn the mp3 player off. &lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;Like this: &lt;/div&gt;&lt;div align="left"&gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="left"&gt;&lt;span style="font-family:courier new;"&gt;*****************************************************&lt;/span&gt;&lt;/div&gt;&lt;div align="left"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#ffff00;"&gt;delay_ms(1000);&lt;br /&gt;output_high(PIN_D4); //turn on mp3 player&lt;br /&gt;delay_ms(1000);&lt;br /&gt;output_low(PIN_D4);&lt;br /&gt;delay_ms(2000);&lt;br /&gt;&lt;br /&gt;output_high(PIN_D0); //turn volume to max&lt;br /&gt;delay_ms(1000);&lt;br /&gt;output_low(PIN_D0);&lt;br /&gt;delay_ms(1000);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;output_high(PIN_B3); //position head&lt;br /&gt;delay_ms(1000);&lt;br /&gt;&lt;br /&gt;output_high(PIN_D3); //track advance to 2.wma&lt;br /&gt;delay_ms(50);&lt;br /&gt;output_low(PIN_D3);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_D1); //play track 2.wma&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_D1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div align="left"&gt;&lt;span style="font-family:courier new;color:#ffff00;"&gt;//delay for length of track//&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;&lt;span style="font-family:courier new;color:#000066;"&gt;&lt;span style="color:#ffff00;"&gt;output_low(PIN_B3); //position head&lt;br /&gt;&lt;br /&gt;output_high(PIN_D2); //stop track&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_D2);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;delay_ms(1000);&lt;br /&gt;output_high(PIN_D4); //turn off mp3 player&lt;br /&gt;delay_ms(1000);&lt;br /&gt;output_low(PIN_D4);&lt;br /&gt;delay_ms(3000);&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;*******************************************************************************&lt;/div&gt;&lt;br /&gt;&lt;p align="left"&gt;&lt;span style="color:#ffffff;"&gt;In the &lt;/span&gt;&lt;a href="http://i246.photobucket.com/albums/gg94/gigavolt/Pics/hacks/SS09/SS09.png"&gt;&lt;span style="color:#ffffff;"&gt;schematic&lt;/span&gt;&lt;/a&gt;&lt;span style="color:#ffffff;"&gt;, I had the mp3 player on PORT A. It's actually on PORT D, so when you compare the schematic and the source code, remember that I mixed up PORTS A and D. I didn't feel like changing all of that stuff in the schematic.&lt;/span&gt;&lt;/p&gt;&lt;div align="left"&gt;I had problems with noise coming out of the speaker, which was coming from the LM317 that generated the 1.5VDC to power the MP3. I confrimed this by powering the MP3 with one AAA battery. It produced no noise while powered with the battery. I never could fiqure out how to get rid of it, so I had to do my best to cover it up. I adjusted the built in equalizer and maxed the volume out. This helped reduce the noise quite a bit. I used the POT on the amplifier to control the system volume. Does anyone know how to stop the noise?&lt;br /&gt;&lt;br /&gt;For the track advance, I just copied the same code over and over again. So if I wanted it to play track 4, I would repeat the track advance part of the code three times.&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#000000;"&gt;&lt;strong&gt;&lt;span style="color:#ffffff;"&gt;POWER SUPPLY BOARD&lt;/span&gt;&lt;/strong&gt; &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I needed a handful of voltage levels to control my hacked BMBB. 1.5 volts for the MP3 player, 4 volts for the half-way position of the head and LCD back light, 5 volts for logic, and 6 volts for the fish head, mouth and tail. I used a 12 volt / 3 amp power supply from an old sewing machine for the main voltage feed. I used standard regulators for the 5 and 6 volts and a pair of LM317's for the 4 volts and 1.5 volts. &lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;Here is the &lt;a href="http://i246.photobucket.com/albums/gg94/gigavolt/Pics/hacks/SS09/powerboard.png"&gt;schematic&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;&lt;strong&gt;&lt;span style="color:#ffffff;"&gt;DISPLAY&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;The display is a Batron BTHQ 42005VSS 4x20 LCD. Get the data sheet &lt;a href="http://www.datamodul.com/us/page/popup_pages/Standard%20monochromatic%20alpha/alphanumeric/BT%2042005/BTHQ%2042005VSS-SMN-LEDwhite.pdf"&gt;here&lt;/a&gt;. This one had a bad back light. I just removed it and soldered in a high intensity white LED from Radio Shack. Worked like a charm!&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 320px; DISPLAY: block; HEIGHT: 240px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5427818906568515714" border="0" alt="" src="http://1.bp.blogspot.com/_J08j7zRLUvQ/S1N8iacqYII/AAAAAAAAABQ/fO-YaWQboDU/s320/Uncle+Phuc.JPG" /&gt; &lt;center&gt;&lt;a href="http://i246.photobucket.com/albums/gg94/gigavolt/Pics/hacks/SS09/UnclePhuc.jpg"&gt;Hi Res&lt;/a&gt;&lt;/center&gt;&lt;br /&gt;&lt;p align="left"&gt;&lt;strong&gt;&lt;span style="color:#ffffff;"&gt;AUDIO AMPLIFIER&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;div align="left"&gt;This amplifies the audio out of the MP3 player. I just ripped a board out of an old set of computer speakers. It's powered with 12VDC, so all I had to do is just mount a connector to the board and solder it in. I used the original speaker that came with the BMBB.&lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;&lt;strong&gt;&lt;span style="color:#ffffff;"&gt;THE FINISHED PRODUCT&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_J08j7zRLUvQ/S1ObilsnsVI/AAAAAAAAABY/KwUXmaFZD0Y/s1600-h/inside_labeled.JPG"&gt;&lt;img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 320px; DISPLAY: block; HEIGHT: 240px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5427852994448699730" border="0" alt="" src="http://3.bp.blogspot.com/_J08j7zRLUvQ/S1ObilsnsVI/AAAAAAAAABY/KwUXmaFZD0Y/s320/inside_labeled.JPG" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;center&gt;&lt;a href="http://i246.photobucket.com/albums/gg94/gigavolt/Pics/hacks/SS09/inside_labeled.jpg"&gt;Hi Res&lt;/a&gt;&lt;/center&gt;&lt;br /&gt;&lt;div align="left"&gt;&lt;strong&gt;&lt;span style="color:#ffffff;"&gt;SOURCE CODE&lt;/span&gt;&lt;/strong&gt; &lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;&lt;/div&gt;&lt;div align="left"&gt;There are two PICs, each with their own code, written in C. The PIC that runs the display used a code I got off the net. You can find it &lt;a href="http://www.ccsinfo.com/forum/viewtopic.php?t=28268"&gt;here&lt;/a&gt;. I just edited the data written to the display. I also edited the driver to use the pins I wanted.&lt;br /&gt;&lt;/div&gt;&lt;div align="left"&gt;&lt;/div&gt;&lt;div align="left"&gt;The editor is taking all the spaces out so the code looks stupid. If anyone knows how I can share the code the way it was written please let me know. I will post the link here.&lt;br /&gt;&lt;/div&gt;&lt;p&gt;&lt;span style="color:#ff0000;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:#ff0000;"&gt;Display source in C.&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;div align="left"&gt;*************************************************************************************&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#ffff00;"&gt;&lt;span style="font-family:courier new;"&gt;#include &lt;18f452.h&gt;&lt;br /&gt;#fuses HS, NOWDT, NOPROTECT, BROWNOUT, PUT, NOLVP&lt;br /&gt;#use delay(clock = 10000000) //10MHz&lt;br /&gt;#include &lt;flex_lcd420.c&gt;&lt;br /&gt;&lt;br /&gt;//===================================&lt;br /&gt;void main()&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;// The lcd_init() function should always be called once,&lt;br /&gt;// near the start of your program.&lt;br /&gt;lcd_init();&lt;br /&gt;&lt;br /&gt;// Clear the LCD.&lt;br /&gt;printf(lcd_putc, "\f");&lt;br /&gt;delay_ms(500);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;output_low(PIN_B7);&lt;br /&gt;output_low(PIN_B6);&lt;br /&gt;output_low(PIN_B5);&lt;br /&gt;output_low(PIN_B4);&lt;br /&gt;output_low(PIN_B3);&lt;br /&gt;output_low(PIN_B2);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;output_low(PIN_B0);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;output_high(PIN_A1);&lt;br /&gt;output_low(PIN_A2);&lt;br /&gt;output_low(PIN_A3);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;printf(lcd_putc, "\f ");&lt;br /&gt;printf(lcd_putc, "\n WWW.ZUG.COM/LIVE ");&lt;br /&gt;printf(lcd_putc, "\n ");&lt;br /&gt;printf(lcd_putc, "\n ");&lt;br /&gt;delay_ms(3000);&lt;br /&gt;&lt;br /&gt;lcd_gotoxy(7, 4);&lt;br /&gt;printf(lcd_putc, "PRESENTS");&lt;br /&gt;delay_ms(3000);&lt;br /&gt;&lt;br /&gt;// Clear the LCD.&lt;br /&gt;printf(lcd_putc, "\f");&lt;br /&gt;delay_ms(500);&lt;br /&gt;&lt;br /&gt;lcd_gotoxy(2, 2);&lt;br /&gt;printf(lcd_putc, "SECRET SANTA 2009");&lt;br /&gt;delay_ms(3000);&lt;br /&gt;&lt;br /&gt;// Clear the LCD.&lt;br /&gt;printf(lcd_putc, "\f");&lt;br /&gt;delay_ms(500);&lt;br /&gt;&lt;br /&gt;printf(lcd_putc, "\f ");&lt;br /&gt;printf(lcd_putc, "\n BUILT BY MANHOLE ");&lt;br /&gt;printf(lcd_putc, "\n FOR ");&lt;br /&gt;printf(lcd_putc, "\n SHELL BELLE ");&lt;br /&gt;delay_ms(3000);&lt;br /&gt;&lt;br /&gt;// Clear the LCD.&lt;br /&gt;printf(lcd_putc, "\f");&lt;br /&gt;delay_ms(500);&lt;br /&gt;&lt;br /&gt;printf(lcd_putc, "\f ");&lt;br /&gt;printf(lcd_putc, "\n ENERGIZING FLUX ");&lt;br /&gt;printf(lcd_putc, "\n CAPACITOR ");&lt;br /&gt;printf(lcd_putc, "\n * ");&lt;br /&gt;delay_ms(1000);&lt;br /&gt;&lt;br /&gt;printf(lcd_putc, "\f ");&lt;br /&gt;printf(lcd_putc, "\n ENERGIZING FLUX ");&lt;br /&gt;printf(lcd_putc, "\n CAPACITOR ");&lt;br /&gt;printf(lcd_putc, "\n ** ");&lt;br /&gt;delay_ms(500);&lt;br /&gt;&lt;br /&gt;printf(lcd_putc, "\f ");&lt;br /&gt;printf(lcd_putc, "\n ENERGIZING FLUX ");&lt;br /&gt;printf(lcd_putc, "\n CAPACITOR ");&lt;br /&gt;printf(lcd_putc, "\n **** ");&lt;br /&gt;delay_ms(500);&lt;br /&gt;&lt;br /&gt;printf(lcd_putc, "\f ");&lt;br /&gt;printf(lcd_putc, "\n ENERGIZING FLUX ");&lt;br /&gt;printf(lcd_putc, "\n CAPACITOR ");&lt;br /&gt;printf(lcd_putc, "\n ***** ");&lt;br /&gt;delay_ms(500);&lt;br /&gt;&lt;br /&gt;printf(lcd_putc, "\f ");&lt;br /&gt;printf(lcd_putc, "\n ENERGIZING FLUX ");&lt;br /&gt;printf(lcd_putc, "\n CAPACITOR ");&lt;br /&gt;printf(lcd_putc, "\n ********* ");&lt;br /&gt;delay_ms(500);&lt;br /&gt;&lt;br /&gt;printf(lcd_putc, "\f ");&lt;br /&gt;printf(lcd_putc, "\n ENERGIZING FLUX ");&lt;br /&gt;printf(lcd_putc, "\n CAPACITOR ");&lt;br /&gt;printf(lcd_putc, "\n ************ ");&lt;br /&gt;delay_ms(300);&lt;br /&gt;&lt;br /&gt;printf(lcd_putc, "\f ");&lt;br /&gt;printf(lcd_putc, "\n ENERGIZING FLUX ");&lt;br /&gt;printf(lcd_putc, "\n CAPACITOR ");&lt;br /&gt;printf(lcd_putc, "\n *************** ");&lt;br /&gt;delay_ms(200);&lt;br /&gt;&lt;br /&gt;printf(lcd_putc, "\f ");&lt;br /&gt;printf(lcd_putc, "\n ENERGIZING FLUX ");&lt;br /&gt;printf(lcd_putc, "\n CAPACITOR ");&lt;br /&gt;printf(lcd_putc, "\n ****************** ");&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;// Clear the LCD.&lt;br /&gt;printf(lcd_putc, "\f");&lt;br /&gt;delay_ms(500);&lt;br /&gt;&lt;br /&gt;printf(lcd_putc, "\f LOADING ");&lt;br /&gt;printf(lcd_putc, "\n A.I. NEURAL NETWORK");&lt;br /&gt;printf(lcd_putc, "\n ");&lt;br /&gt;printf(lcd_putc, "\n system core is 10 ");&lt;br /&gt;delay_ms(500);&lt;br /&gt;&lt;br /&gt;// Clear the LCD.&lt;br /&gt;printf(lcd_putc, "\f");&lt;br /&gt;delay_ms(10);&lt;br /&gt;&lt;br /&gt;printf(lcd_putc, "\f LOADING ");&lt;br /&gt;printf(lcd_putc, "\n A.I. NEURAL NETWORK");&lt;br /&gt;printf(lcd_putc, "\n ");&lt;br /&gt;printf(lcd_putc, "\n system core is 20 ");&lt;br /&gt;delay_ms(500);&lt;br /&gt;&lt;br /&gt;// Clear the LCD.&lt;br /&gt;printf(lcd_putc, "\f");&lt;br /&gt;delay_ms(10);&lt;br /&gt;&lt;br /&gt;printf(lcd_putc, "\f LOADING ");&lt;br /&gt;printf(lcd_putc, "\n A.I. NEURAL NETWORK");&lt;br /&gt;printf(lcd_putc, "\n ");&lt;br /&gt;printf(lcd_putc, "\n system core is 30 ");&lt;br /&gt;delay_ms(500);&lt;br /&gt;&lt;br /&gt;// Clear the LCD.&lt;br /&gt;printf(lcd_putc, "\f");&lt;br /&gt;delay_ms(10);&lt;br /&gt;&lt;br /&gt;printf(lcd_putc, "\f LOADING ");&lt;br /&gt;printf(lcd_putc, "\n A.I. NEURAL NETWORK");&lt;br /&gt;printf(lcd_putc, "\n ");&lt;br /&gt;printf(lcd_putc, "\n system core is 42 ");&lt;br /&gt;delay_ms(2000);&lt;br /&gt;&lt;br /&gt;// Clear the LCD.&lt;br /&gt;printf(lcd_putc, "\f");&lt;br /&gt;delay_ms(10);&lt;br /&gt;&lt;br /&gt;printf(lcd_putc, "\f LOADING ");&lt;br /&gt;printf(lcd_putc, "\n A.I. NEURAL NETWORK");&lt;br /&gt;printf(lcd_putc, "\n ");&lt;br /&gt;printf(lcd_putc, "\n system core is 53 ");&lt;br /&gt;delay_ms(800);&lt;br /&gt;&lt;br /&gt;// Clear the LCD.&lt;br /&gt;printf(lcd_putc, "\f");&lt;br /&gt;delay_ms(10);&lt;br /&gt;&lt;br /&gt;printf(lcd_putc, "\f LOADING ");&lt;br /&gt;printf(lcd_putc, "\n A.I. NEURAL NETWORK");&lt;br /&gt;printf(lcd_putc, "\n ");&lt;br /&gt;printf(lcd_putc, "\n system core is 88 ");&lt;br /&gt;delay_ms(800);&lt;br /&gt;&lt;br /&gt;// Clear the LCD.&lt;br /&gt;printf(lcd_putc, "\f");&lt;br /&gt;delay_ms(10);&lt;br /&gt;&lt;br /&gt;printf(lcd_putc, "\f LOADING ");&lt;br /&gt;printf(lcd_putc, "\n A.I. NEURAL NETWORK");&lt;br /&gt;printf(lcd_putc, "\n ");&lt;br /&gt;printf(lcd_putc, "\n system core is 99 ");&lt;br /&gt;delay_ms(800);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;// Clear the LCD.&lt;br /&gt;printf(lcd_putc, "\f");&lt;br /&gt;delay_ms(500);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;printf(lcd_putc, "\f A.I. STATUS IS: ");&lt;br /&gt;printf(lcd_putc, "\n ACTIVE ");&lt;br /&gt;printf(lcd_putc, "\n connecting to ");&lt;br /&gt;printf(lcd_putc, "\n interwebs.... ");&lt;br /&gt;&lt;br /&gt;output_high(PIN_A0);&lt;br /&gt;delay_ms(10000);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;while (true) {&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;if(input_state(PIN_B7)==1){&lt;br /&gt;&lt;br /&gt;printf(lcd_putc, "\f PLEASE SELECT ");&lt;br /&gt;printf(lcd_putc, "\n GAbBEr ");&lt;br /&gt;printf(lcd_putc, "\n the honorable ");&lt;br /&gt;printf(lcd_putc, "\n PHLA ");&lt;br /&gt;delay_ms(250);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;else if(input_state(PIN_B6)==1){&lt;br /&gt;&lt;br /&gt;printf(lcd_putc, "\f PLEASE SELECT ");&lt;br /&gt;printf(lcd_putc, "\n gabBEr ");&lt;br /&gt;printf(lcd_putc, "\n the kickass ");&lt;br /&gt;printf(lcd_putc, "\n JEENI ");&lt;br /&gt;delay_ms(250);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;else if(input_state(PIN_B5)==1){&lt;br /&gt;printf(lcd_putc, "\f PLEASE SELECT ");&lt;br /&gt;printf(lcd_putc, "\n gABber ");&lt;br /&gt;printf(lcd_putc, "\n the always funny ");&lt;br /&gt;printf(lcd_putc, "\n SUICIDE RANGER ");&lt;br /&gt;delay_ms(250);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;else if(input_state(PIN_B4)==1) {&lt;br /&gt;printf(lcd_putc, "\f PLEASE SELECT ");&lt;br /&gt;printf(lcd_putc, "\n gAbbEr ");&lt;br /&gt;printf(lcd_putc, "\n stupid nOob ");&lt;br /&gt;printf(lcd_putc, "\n FUCKSOCK ");&lt;br /&gt;delay_ms(250);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;else if(input_state(PIN_B3)==1) {&lt;br /&gt;printf(lcd_putc, "\f PLEASE SELECT ");&lt;br /&gt;printf(lcd_putc, "\n GabBeR ");&lt;br /&gt;printf(lcd_putc, "\n the smashing ");&lt;br /&gt;printf(lcd_putc, "\n TRIXXIE ");&lt;br /&gt;delay_ms(250);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;else if(input_state(PIN_B2)==1) {&lt;br /&gt;printf(lcd_putc, "\f PLEASE SELECT ");&lt;br /&gt;printf(lcd_putc, "\n gabBer ");&lt;br /&gt;printf(lcd_putc, "\nthe incredibly sexy ");&lt;br /&gt;printf(lcd_putc, "\n STRAW ");&lt;br /&gt;delay_ms(250);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;else if(input_state(PIN_B1)==1) {&lt;br /&gt;printf(lcd_putc, "\f PLEASE SELECT ");&lt;br /&gt;printf(lcd_putc, "\n gabbER ");&lt;br /&gt;printf(lcd_putc, "\n the lovely ");&lt;br /&gt;printf(lcd_putc, "\n SHELL BELLE ");&lt;br /&gt;delay_ms(250);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;else if(input_state(PIN_B0)==1) {&lt;br /&gt;printf(lcd_putc, "\f PLEASE SELECT ");&lt;br /&gt;printf(lcd_putc, "\n GaBbEr ");&lt;br /&gt;printf(lcd_putc, "\n our beloved artist ");&lt;br /&gt;printf(lcd_putc, "\n UNCLE PHUC ");&lt;br /&gt;delay_ms(250);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;else if(input_state(PIN_A2)==1) {&lt;br /&gt;printf(lcd_putc, "\f PLEASE SELECT ");&lt;br /&gt;printf(lcd_putc, "\n GAbBeR ");&lt;br /&gt;printf(lcd_putc, "\nyour future overlord");&lt;br /&gt;printf(lcd_putc, "\n MANHOLE ");&lt;br /&gt;delay_ms(250);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;else if(input_state(PIN_A3)==1) {&lt;br /&gt;printf(lcd_putc, "\f PLEASE SELECT ");&lt;br /&gt;printf(lcd_putc, "\n GAbbER ");&lt;br /&gt;printf(lcd_putc, "\n our poor poor ");&lt;br /&gt;printf(lcd_putc, "\n PUBAH ");&lt;br /&gt;delay_ms(250);&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;} &lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;*************************************************************************************&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;The code for the main PIC that contols the fish and MP3 is below. It's pretty strait foward. It runs through a boot process and then loops, checking the position of the 10 position switch and the play switch. When the play switch is pressed, it looks at the position of the 10 position switch and runs that part of the code. The PIC that controls the display also monitors the 10 position switch.&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;Main PIC code in C&lt;/span&gt;&lt;/div&gt;&lt;div align="left"&gt;************************************************************************************* &lt;/div&gt;&lt;div align="left"&gt;&lt;/div&gt;&lt;div align="left"&gt;&lt;span style="color:#000066;"&gt;&lt;span style="color:#ffff00;"&gt;&lt;span style="font-family:courier new;"&gt;#include &lt;18f452.h&gt;&lt;br /&gt;#fuses XT,NOPROTECT,NOLVP,NOWDT&lt;br /&gt;#use delay(clock=3686400)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;void main() {&lt;br /&gt;&lt;br /&gt;output_low(PIN_D4);&lt;br /&gt;output_low(PIN_D5);&lt;br /&gt;&lt;br /&gt;delay_ms(5000);&lt;br /&gt;&lt;br /&gt;while (true) {&lt;br /&gt;&lt;br /&gt;if(input_state(PIN_D5)==1)&lt;br /&gt;&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;output_high(PIN_D4); //turn mp3 off&lt;br /&gt;delay_ms(1000);&lt;br /&gt;output_low(PIN_D4);&lt;br /&gt;delay_ms(5000);&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;else if(input_state(PIN_D5)==0)&lt;br /&gt;&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;delay_ms(1000);&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;SET_TRIS_A( 0x10 ); //port a i/o&lt;br /&gt;&lt;br /&gt;output_low(PIN_A0); //lights blue on&lt;br /&gt;output_high(PIN_A1);&lt;br /&gt;output_high(PIN_A2);&lt;br /&gt;output_high(PIN_A3);&lt;br /&gt;output_high(PIN_A4);&lt;br /&gt;output_low(PIN_A5); //blue lights on&lt;br /&gt;&lt;br /&gt;output_low(PIN_E1); //ensure SW1 does not activate&lt;br /&gt;&lt;br /&gt;output_low(PIN_C0); // all low for SW2&lt;br /&gt;output_low(PIN_C1);&lt;br /&gt;output_low(PIN_C2);&lt;br /&gt;output_low(PIN_C3);&lt;br /&gt;output_low(PIN_C4);&lt;br /&gt;output_low(PIN_C5);&lt;br /&gt;output_low(PIN_C6);&lt;br /&gt;output_low(PIN_C7);&lt;br /&gt;output_low(PIN_B6);&lt;br /&gt;output_low(PIN_B7);&lt;br /&gt;&lt;br /&gt;output_low(PIN_D0); //set the MP3 switch to all low&lt;br /&gt;output_low(PIN_D1);&lt;br /&gt;output_low(PIN_D2);&lt;br /&gt;output_low(PIN_D3);&lt;br /&gt;output_low(PIN_D4);&lt;br /&gt;output_low(PIN_D7); //set for demo mode switch&lt;br /&gt;output_low(PIN_D6);&lt;br /&gt;output_low(PIN_D5);&lt;br /&gt;&lt;br /&gt;output_low(PIN_B3);&lt;br /&gt;output_low(PIN_B4);&lt;br /&gt;output_low(PIN_B5);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;//** This is the intro*******************************************************************//&lt;br /&gt;&lt;br /&gt;while (true) {&lt;br /&gt;&lt;br /&gt;if(input_state(PIN_D7)==1){&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;delay_ms(2000);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;output_high(PIN_D4); //turn on mp3 player&lt;br /&gt;delay_ms(1000);&lt;br /&gt;output_low(PIN_D4);&lt;br /&gt;&lt;br /&gt;delay_ms(2000);&lt;br /&gt;&lt;br /&gt;output_high(PIN_E2); //red shell led&lt;br /&gt;&lt;br /&gt;output_high(PIN_D0); //turn volume to max&lt;br /&gt;delay_ms(1000);&lt;br /&gt;output_low(PIN_D0);&lt;br /&gt;delay_ms(1000);&lt;br /&gt;&lt;br /&gt;output_high(PIN_D1); //play track 1.wma&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_D1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;delay_ms(10000);&lt;br /&gt;&lt;br /&gt;output_high(PIN_E0); //blue shell led&lt;br /&gt;&lt;br /&gt;delay_ms(9500);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;delay_ms(10000);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B3); //position head&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //theres&lt;br /&gt;delay_ms(200);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //something&lt;br /&gt;delay_ms(400);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100); //30000&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //strange&lt;br /&gt;delay_ms(800);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(500); //31100&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //in&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //the&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //neighboor&lt;br /&gt;delay_ms(200);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //hood //32170&lt;br /&gt;delay_ms(300);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(1090);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //who //33260&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(60);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //ya&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(60);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1);&lt;br /&gt;delay_ms(200); //gonna&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //call&lt;br /&gt;delay_ms(300);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(500); //37230&lt;br /&gt;&lt;br /&gt;output_low(PIN_B3); //position head&lt;br /&gt;&lt;br /&gt;delay_ms(2900);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;output_high(PIN_B3); //position head&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //theres&lt;br /&gt;delay_ms(25);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(25);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //something //37280&lt;br /&gt;delay_ms(400);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(150);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); // wierd //38100&lt;br /&gt;delay_ms(400);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(1000);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //and//39260&lt;br /&gt;delay_ms(100); //&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //it//40000&lt;br /&gt;delay_ms(50);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(50);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //don't//40000&lt;br /&gt;delay_ms(50);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(50);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //look&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //40200 //good&lt;br /&gt;delay_ms(300);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(1200);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //who //42050&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(60); //&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //ya&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(60);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //gonna&lt;br /&gt;delay_ms(200);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); // call //43000&lt;br /&gt;delay_ms(300);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(500);&lt;br /&gt;&lt;br /&gt;output_low(PIN_B3); //position head&lt;br /&gt;&lt;br /&gt;delay_ms(7000);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B0); //position tail for fart&lt;br /&gt;delay_ms(3000);&lt;br /&gt;output_low(PIN_B0);&lt;br /&gt;delay_ms(1000);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;output_high(PIN_D2); //stop track&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_D2);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;delay_ms(1000);&lt;br /&gt;output_high(PIN_D4); //turn off mp3 player&lt;br /&gt;delay_ms(1000);&lt;br /&gt;output_low(PIN_D4);&lt;br /&gt;delay_ms(2000);&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;else if(input_state(PIN_D7)==0)&lt;br /&gt;&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;delay_ms(4000);&lt;br /&gt;&lt;br /&gt;output_high(PIN_E2); //red shell led&lt;br /&gt;&lt;br /&gt;delay_ms(12000);&lt;br /&gt;&lt;br /&gt;output_high(PIN_E0); //blue shell led&lt;br /&gt;&lt;br /&gt;delay_ms(1000);}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;while (true) {&lt;br /&gt;&lt;br /&gt;if(input_state(PIN_E1)==1){&lt;br /&gt;&lt;br /&gt;output_high(PIN_A1); //green off&lt;br /&gt;output_high(PIN_A4);&lt;br /&gt;output_low(PIN_A2); //turn red on&lt;br /&gt;output_low(PIN_A3);&lt;br /&gt;&lt;br /&gt;while (true) {&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;if(input_state(PIN_C0)==1) //Uncle Phuc&lt;br /&gt;&lt;br /&gt;{&lt;br /&gt;delay_ms(1000);&lt;br /&gt;output_high(PIN_D4); //turn on mp3 player&lt;br /&gt;delay_ms(1000);&lt;br /&gt;output_low(PIN_D4);&lt;br /&gt;delay_ms(2000);&lt;br /&gt;&lt;br /&gt;output_high(PIN_D0); //turn volume to max&lt;br /&gt;delay_ms(1000);&lt;br /&gt;output_low(PIN_D0);&lt;br /&gt;delay_ms(1000);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;output_high(PIN_B3); //position head&lt;br /&gt;delay_ms(1000);&lt;br /&gt;&lt;br /&gt;output_high(PIN_D3); //track advance to 2.wma&lt;br /&gt;delay_ms(50);&lt;br /&gt;output_low(PIN_D3);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_D1); //play track 2.wma&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_D1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;delay_ms(500); //zug&lt;br /&gt;output_high(PIN_B1);&lt;br /&gt;delay_ms(880);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(160);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //what&lt;br /&gt;delay_ms(200);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;&lt;br /&gt;delay_ms(100); //the&lt;br /&gt;output_high(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;&lt;br /&gt;delay_ms(100); //hell&lt;br /&gt;output_high(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;&lt;br /&gt;delay_ms(100); //is&lt;br /&gt;output_high(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;&lt;br /&gt;delay_ms(100); //a&lt;br /&gt;output_high(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;&lt;br /&gt;delay_ms(400); //oooohhhhh&lt;br /&gt;output_high(PIN_B1);&lt;br /&gt;delay_ms(1000);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;&lt;br /&gt;output_low(PIN_B4);&lt;br /&gt;delay_ms(1);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;delay_ms(840); //titties&lt;br /&gt;output_high(PIN_B1);&lt;br /&gt;delay_ms(910);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;&lt;br /&gt;delay_ms(50); //page&lt;br /&gt;output_high(PIN_B1);&lt;br /&gt;delay_ms(930);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;&lt;br /&gt;output_high(PIN_D2); //stop track&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_D2);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_low(PIN_B3); //position head&lt;br /&gt;&lt;br /&gt;output_low(PIN_B4);&lt;br /&gt;&lt;br /&gt;output_high(PIN_D2); //stop track&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_D2);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;delay_ms(1000);&lt;br /&gt;output_high(PIN_D4); //turn off mp3 player&lt;br /&gt;delay_ms(1000);&lt;br /&gt;output_low(PIN_D4);&lt;br /&gt;delay_ms(3000);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;else if(input_state(PIN_C1)==1) //Shell Belle&lt;br /&gt;&lt;br /&gt;{&lt;br /&gt;delay_ms(1000);&lt;br /&gt;output_high(PIN_D4); //turn on mp3 player&lt;br /&gt;delay_ms(1000);&lt;br /&gt;output_low(PIN_D4);&lt;br /&gt;delay_ms(2000);&lt;br /&gt;&lt;br /&gt;output_high(PIN_D0); //turn volume to max&lt;br /&gt;delay_ms(1000);&lt;br /&gt;output_low(PIN_D0);&lt;br /&gt;delay_ms(1000);&lt;br /&gt;&lt;br /&gt;output_high(PIN_D1); //play track 1.wma&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_D1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;delay_ms(29500);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B3); //position head&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //theres&lt;br /&gt;delay_ms(200);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //something&lt;br /&gt;delay_ms(400);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100); //30000&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //strange&lt;br /&gt;delay_ms(800);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(500); //31100&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //in&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //the&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //neighboor&lt;br /&gt;delay_ms(200);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //hood //32170&lt;br /&gt;delay_ms(300);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(1090);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //who //33260&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(60);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //ya&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(60);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1);&lt;br /&gt;delay_ms(200); //gonna&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //call&lt;br /&gt;delay_ms(300);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(500); //37230&lt;br /&gt;&lt;br /&gt;output_low(PIN_B3); //position head&lt;br /&gt;&lt;br /&gt;delay_ms(2900);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;output_high(PIN_B3); //position head&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //theres&lt;br /&gt;delay_ms(25);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(25);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //something //37280&lt;br /&gt;delay_ms(400);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(150);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); // wierd //38100&lt;br /&gt;delay_ms(400);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(1000);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //and//39260&lt;br /&gt;delay_ms(100); //&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //it//40000&lt;br /&gt;delay_ms(50);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(50);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //don't//40000&lt;br /&gt;delay_ms(50);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(50);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //look&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //40200 //good&lt;br /&gt;delay_ms(300);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(1200);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //who //42050&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(60); //&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //ya&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(60);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //gonna&lt;br /&gt;delay_ms(200);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); // call //43000&lt;br /&gt;delay_ms(300);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(500);&lt;br /&gt;&lt;br /&gt;output_low(PIN_B3); //position head&lt;br /&gt;&lt;br /&gt;delay_ms(6700);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B0); //position tail for fart&lt;br /&gt;delay_ms(3000);&lt;br /&gt;output_low(PIN_B0);&lt;br /&gt;delay_ms(1000);&lt;br /&gt;&lt;br /&gt;output_high(PIN_D2); //stop track&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_D2);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;delay_ms(1000);&lt;br /&gt;output_high(PIN_D4); //turn off mp3 player&lt;br /&gt;delay_ms(1000);&lt;br /&gt;output_low(PIN_D4);&lt;br /&gt;delay_ms(3000);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;else if(input_state(PIN_C2)==1) //Straw&lt;br /&gt;{&lt;br /&gt;delay_ms(1000);&lt;br /&gt;output_high(PIN_D4); //turn on mp3 player&lt;br /&gt;delay_ms(1000);&lt;br /&gt;output_low(PIN_D4);&lt;br /&gt;delay_ms(2000);&lt;br /&gt;&lt;br /&gt;output_high(PIN_D0); //turn volume to max&lt;br /&gt;delay_ms(1000);&lt;br /&gt;output_low(PIN_D0);&lt;br /&gt;delay_ms(1000);&lt;br /&gt;&lt;br /&gt;output_high(PIN_D3); //track advance to 2.wma&lt;br /&gt;delay_ms(50);&lt;br /&gt;output_low(PIN_D3);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_D3); //track advance to 3.wma&lt;br /&gt;delay_ms(50);&lt;br /&gt;output_low(PIN_D3);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;output_high(PIN_D1); //play track 3.wma&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_D1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;delay_ms(4450);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B4); //position head&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //yes&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(2900);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //I&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //am&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100); //&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //who&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //are&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //you&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(8900); //8100&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //what&lt;br /&gt;delay_ms(60);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(60);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //you&lt;br /&gt;delay_ms(60);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(60);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //want&lt;br /&gt;delay_ms(60);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(50);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1);&lt;br /&gt;delay_ms(50); //from&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(50);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //me&lt;br /&gt;delay_ms(300);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(7700);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //you&lt;br /&gt;delay_ms(200);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(200);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //thought&lt;br /&gt;delay_ms(200);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(200);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //wrong&lt;br /&gt;delay_ms(200);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(200);&lt;br /&gt;output_low(PIN_B4); //position head&lt;br /&gt;delay_ms(7300);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;output_high(PIN_B3); //position head&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //next&lt;br /&gt;delay_ms(110);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //time&lt;br /&gt;delay_ms(110);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(110);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //you&lt;br /&gt;delay_ms(110);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(110);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //feel&lt;br /&gt;delay_ms(110);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(110);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //lonely&lt;br /&gt;delay_ms(200);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(1100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //dont&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //go&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //scowring&lt;br /&gt;delay_ms(200);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); // the&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //jails&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(200);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1);&lt;br /&gt;delay_ms(100); //give&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //me&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); // a&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); // call&lt;br /&gt;delay_ms(200);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(1300);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); // i'll&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //make&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //you&lt;br /&gt;delay_ms(50);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(50);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //feel&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //like&lt;br /&gt;delay_ms(50);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(50);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //a&lt;br /&gt;delay_ms(50);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(50);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //woman&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(60);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;output_low(PIN_B3); //position head&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;output_high(PIN_D2); //stop track&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_D2);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;delay_ms(1000);&lt;br /&gt;output_high(PIN_D4); //turn off mp3 player&lt;br /&gt;delay_ms(1000);&lt;br /&gt;output_low(PIN_D4);&lt;br /&gt;delay_ms(3000);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;else if(input_state(PIN_C3)==1) ///Trixxie&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;output_high(PIN_D4); //turn on mp3 player&lt;br /&gt;delay_ms(1000);&lt;br /&gt;output_low(PIN_D4);&lt;br /&gt;delay_ms(2000);&lt;br /&gt;&lt;br /&gt;output_high(PIN_D0); //turn volume to max&lt;br /&gt;delay_ms(1000);&lt;br /&gt;output_low(PIN_D0);&lt;br /&gt;delay_ms(1000);&lt;br /&gt;&lt;br /&gt;output_high(PIN_D3); //track advance to 2.wma&lt;br /&gt;delay_ms(50);&lt;br /&gt;output_low(PIN_D3);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_D3); //track advance to 3.wma&lt;br /&gt;delay_ms(50);&lt;br /&gt;output_low(PIN_D3);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_D3); //track advance to 4.wma&lt;br /&gt;delay_ms(50);&lt;br /&gt;output_low(PIN_D3);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;output_high(PIN_D1); //play track 4.wma&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_D1);&lt;br /&gt;delay_ms(280);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B3); //position head&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //o&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //k&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(500);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //that&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100); //&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //does&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //it&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(550);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //now&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //listen&lt;br /&gt;delay_ms(300);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(550);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //why&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //is&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1);&lt;br /&gt;delay_ms(100); //it&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(300);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //that&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //everything&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //today&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(200);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //has&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //involved&lt;br /&gt;delay_ms(200);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //things&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //either&lt;br /&gt;delay_ms(200);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //going&lt;br /&gt;delay_ms(200);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //in&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(400);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //or&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(200);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //coming&lt;br /&gt;delay_ms(300);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //out&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(200);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); // of&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //my&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(300);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1);&lt;br /&gt;delay_ms(100); //ass&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(500);&lt;br /&gt;&lt;br /&gt;output_low(PIN_B3); //position head&lt;br /&gt;&lt;br /&gt;output_high(PIN_D2); //stop track&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_D2);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;delay_ms(1000);&lt;br /&gt;output_high(PIN_D4); //turn off mp3 player&lt;br /&gt;delay_ms(1000);&lt;br /&gt;output_low(PIN_D4);&lt;br /&gt;delay_ms(3000);&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;else if(input_state(PIN_C4)==1) //fucksock&lt;br /&gt;&lt;br /&gt;{&lt;br /&gt;output_high(PIN_D4); //turn on mp3 player&lt;br /&gt;delay_ms(1000);&lt;br /&gt;output_low(PIN_D4);&lt;br /&gt;delay_ms(2000);&lt;br /&gt;&lt;br /&gt;output_high(PIN_D0); //turn volume to max&lt;br /&gt;delay_ms(1000);&lt;br /&gt;output_low(PIN_D0);&lt;br /&gt;delay_ms(1000);&lt;br /&gt;&lt;br /&gt;output_high(PIN_D3); //track advance to 2.wma&lt;br /&gt;delay_ms(50);&lt;br /&gt;output_low(PIN_D3);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_D3); //track advance to 3.wma&lt;br /&gt;delay_ms(50);&lt;br /&gt;output_low(PIN_D3);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_D3); //track advance to 4.wma&lt;br /&gt;delay_ms(50);&lt;br /&gt;output_low(PIN_D3);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_D3); //track advance to 5.wma&lt;br /&gt;delay_ms(50);&lt;br /&gt;output_low(PIN_D3);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_D1); //play track 5.wma&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_D1);&lt;br /&gt;delay_ms(580);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B3); //position head&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //you&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //remember&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //what&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100); //&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //I&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //told&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //you&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //about&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //trying&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(50);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //to&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(50);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1);&lt;br /&gt;delay_ms(100); //be&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(50);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //funny&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(2900);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //thats&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(60);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //right&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(800);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //now&lt;br /&gt;delay_ms(200);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(200);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //sit&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //down&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //and&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(300);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //shup&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //up&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(500);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;output_low(PIN_B3); //position head&lt;br /&gt;&lt;br /&gt;output_high(PIN_D2); //stop track&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_D2);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;delay_ms(1000);&lt;br /&gt;output_high(PIN_D4); //turn off mp3 player&lt;br /&gt;delay_ms(1000);&lt;br /&gt;output_low(PIN_D4);&lt;br /&gt;delay_ms(3000);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;else if(input_state(PIN_C5)==1) //suicide ranger&lt;br /&gt;&lt;br /&gt;{&lt;br /&gt;output_high(PIN_D4); //turn on mp3 player&lt;br /&gt;delay_ms(1000);&lt;br /&gt;output_low(PIN_D4);&lt;br /&gt;delay_ms(2000);&lt;br /&gt;&lt;br /&gt;output_high(PIN_D0); //turn volume to max&lt;br /&gt;delay_ms(1000);&lt;br /&gt;output_low(PIN_D0);&lt;br /&gt;delay_ms(1000);&lt;br /&gt;&lt;br /&gt;output_high(PIN_D3); //track advance to 2.wma&lt;br /&gt;delay_ms(50);&lt;br /&gt;output_low(PIN_D3);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_D3); //track advance to 3.wma&lt;br /&gt;delay_ms(50);&lt;br /&gt;output_low(PIN_D3);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_D3); //track advance to 4.wma&lt;br /&gt;delay_ms(50);&lt;br /&gt;output_low(PIN_D3);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_D3); //track advance to 5.wma&lt;br /&gt;delay_ms(50);&lt;br /&gt;output_low(PIN_D3);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_D3); //track advance to 6.wma&lt;br /&gt;delay_ms(50);&lt;br /&gt;output_low(PIN_D3);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_D1); //play track 6.wma&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_D1);&lt;br /&gt;delay_ms(20450);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B3); //position head&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //im&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(50);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //an&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(50);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //indian&lt;br /&gt;delay_ms(250);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(50);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //out&lt;br /&gt;delay_ms(350);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //law&lt;br /&gt;delay_ms(350);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(800);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //you&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //can&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //find&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //me&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //in&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //my&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(700);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //i'll&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(200);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //be&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //beaten&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //on&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //my&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //tom&lt;br /&gt;delay_ms(200);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); // tom&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(500);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); // pull&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //out&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //the&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //pipe&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //and&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //smoke&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //ya&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //some&lt;br /&gt;delay_ms(400);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(600);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //yea&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //pass&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //it&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //around&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(1500);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //cause&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //im&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //an&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); // indian&lt;br /&gt;delay_ms(200);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); // outlaw&lt;br /&gt;delay_ms(200);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(900);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //half&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //cheroke&lt;br /&gt;delay_ms(1500);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;output_low(PIN_B3); //position head&lt;br /&gt;&lt;br /&gt;delay_ms(1000);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;output_high(PIN_D2); //stop track&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_D2);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;delay_ms(1000);&lt;br /&gt;output_high(PIN_D4); //turn off mp3 player&lt;br /&gt;delay_ms(1000);&lt;br /&gt;output_low(PIN_D4);&lt;br /&gt;delay_ms(3000);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;else if(input_state(PIN_C6)==1) ///Jennie&lt;br /&gt;&lt;br /&gt;{&lt;br /&gt;output_high(PIN_D4); //turn on mp3 player&lt;br /&gt;delay_ms(1000);&lt;br /&gt;output_low(PIN_D4);&lt;br /&gt;delay_ms(2000);&lt;br /&gt;&lt;br /&gt;output_high(PIN_D0); //turn volume to max&lt;br /&gt;delay_ms(1000);&lt;br /&gt;output_low(PIN_D0);&lt;br /&gt;delay_ms(1000);&lt;br /&gt;&lt;br /&gt;output_high(PIN_D3); //track advance to 2.wma&lt;br /&gt;delay_ms(50);&lt;br /&gt;output_low(PIN_D3);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_D3); //track advance to 3.wma&lt;br /&gt;delay_ms(50);&lt;br /&gt;output_low(PIN_D3);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_D3); //track advance to 4.wma&lt;br /&gt;delay_ms(50);&lt;br /&gt;output_low(PIN_D3);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_D3); //track advance to 5.wma&lt;br /&gt;delay_ms(50);&lt;br /&gt;output_low(PIN_D3);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_D3); //track advance to 6.wma&lt;br /&gt;delay_ms(50);&lt;br /&gt;output_low(PIN_D3);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_D3); //track advance to 7.wma&lt;br /&gt;delay_ms(50);&lt;br /&gt;output_low(PIN_D3);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_D1); //play track 7.wma&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_D1);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B3); //position head&lt;br /&gt;&lt;br /&gt;delay_ms(580);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //for&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(50);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //peep&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(50);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //show&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(700);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //please&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //insert&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //coin&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //or&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //credit&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //card&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(500);&lt;br /&gt;&lt;br /&gt;output_low(PIN_B3); //position head&lt;br /&gt;&lt;br /&gt;output_high(PIN_D2); //stop track&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_D2);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;delay_ms(1000);&lt;br /&gt;output_high(PIN_D4); //turn off mp3 player&lt;br /&gt;delay_ms(1000);&lt;br /&gt;output_low(PIN_D4);&lt;br /&gt;delay_ms(3000);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;else if(input_state(PIN_C7)==1) //phla&lt;br /&gt;&lt;br /&gt;{&lt;br /&gt;output_high(PIN_D4); //turn on mp3 player&lt;br /&gt;delay_ms(1000);&lt;br /&gt;output_low(PIN_D4);&lt;br /&gt;delay_ms(2000);&lt;br /&gt;&lt;br /&gt;output_high(PIN_D0); //turn volume to max&lt;br /&gt;delay_ms(1000);&lt;br /&gt;output_low(PIN_D0);&lt;br /&gt;delay_ms(1000);&lt;br /&gt;&lt;br /&gt;output_high(PIN_D3); //track advance to 2.wma&lt;br /&gt;delay_ms(50);&lt;br /&gt;output_low(PIN_D3);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_D3); //track advance to 3.wma&lt;br /&gt;delay_ms(50);&lt;br /&gt;output_low(PIN_D3);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_D3); //track advance to 4.wma&lt;br /&gt;delay_ms(50);&lt;br /&gt;output_low(PIN_D3);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_D3); //track advance to 5.wma&lt;br /&gt;delay_ms(50);&lt;br /&gt;output_low(PIN_D3);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_D3); //track advance to 6.wma&lt;br /&gt;delay_ms(50);&lt;br /&gt;output_low(PIN_D3);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_D3); //track advance to 7.wma&lt;br /&gt;delay_ms(50);&lt;br /&gt;output_low(PIN_D3);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_D3); //track advance to 8.wma&lt;br /&gt;delay_ms(50);&lt;br /&gt;output_low(PIN_D3);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_D1); //play track 8.wma&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_D1);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B3); //position head&lt;br /&gt;&lt;br /&gt;delay_ms(300);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //I&lt;br /&gt;delay_ms(200);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //belong&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //to&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //the&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //church&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //of&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //cabbage&lt;br /&gt;delay_ms(300);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(750);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //let&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //us&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //pray&lt;br /&gt;delay_ms(300);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(500);&lt;br /&gt;&lt;br /&gt;output_low(PIN_B3); //position head&lt;br /&gt;&lt;br /&gt;output_high(PIN_D2); //stop track&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_D2);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;delay_ms(1000);&lt;br /&gt;output_high(PIN_D4); //turn off mp3 player&lt;br /&gt;delay_ms(1000);&lt;br /&gt;output_low(PIN_D4);&lt;br /&gt;delay_ms(3000);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;else if(input_state(PIN_B6)==1) //manhole&lt;br /&gt;&lt;br /&gt;{&lt;br /&gt;output_high(PIN_D4); //turn on mp3 player&lt;br /&gt;delay_ms(1000);&lt;br /&gt;output_low(PIN_D4);&lt;br /&gt;delay_ms(2000);&lt;br /&gt;&lt;br /&gt;output_high(PIN_D0); //turn volume to max&lt;br /&gt;delay_ms(1000);&lt;br /&gt;output_low(PIN_D0);&lt;br /&gt;delay_ms(1000);&lt;br /&gt;&lt;br /&gt;output_high(PIN_D3); //track advance to 2.wma&lt;br /&gt;delay_ms(50);&lt;br /&gt;output_low(PIN_D3);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_D3); //track advance to 3.wma&lt;br /&gt;delay_ms(50);&lt;br /&gt;output_low(PIN_D3);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_D3); //track advance to 4.wma&lt;br /&gt;delay_ms(50);&lt;br /&gt;output_low(PIN_D3);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_D3); //track advance to 5.wma&lt;br /&gt;delay_ms(50);&lt;br /&gt;output_low(PIN_D3);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_D3); //track advance to 6.wma&lt;br /&gt;delay_ms(50);&lt;br /&gt;output_low(PIN_D3);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_D3); //track advance to 7.wma&lt;br /&gt;delay_ms(50);&lt;br /&gt;output_low(PIN_D3);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_D3); //track advance to 8.wma&lt;br /&gt;delay_ms(50);&lt;br /&gt;output_low(PIN_D3);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_D3); //track advance to 9.wma&lt;br /&gt;delay_ms(50);&lt;br /&gt;output_low(PIN_D3);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_D1); //play track 9.wma&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_D1);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;delay_ms(4000);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B3); //position head&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //tit&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //ies&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //and&lt;br /&gt;delay_ms(200);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(200);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //beer&lt;br /&gt;delay_ms(200);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(2500);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //tit&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //ies&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //and&lt;br /&gt;delay_ms(200);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(200);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //beer&lt;br /&gt;delay_ms(200);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(500);&lt;br /&gt;output_low(PIN_B3); //position head&lt;br /&gt;&lt;br /&gt;delay_ms(4500);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B3); //position head&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //big&lt;br /&gt;delay_ms(200);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //tit&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //ies&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //and&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //beer&lt;br /&gt;delay_ms(300);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(2290);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //tit&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //ies&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //and&lt;br /&gt;delay_ms(200);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(200);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //beer&lt;br /&gt;delay_ms(200);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(2000);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //tit&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //ies&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //and&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //be&lt;br /&gt;delay_ms(200);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //heer&lt;br /&gt;delay_ms(300);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //heer&lt;br /&gt;delay_ms(300);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B3); //position head&lt;br /&gt;&lt;br /&gt;delay_ms(4200);&lt;br /&gt;output_high(PIN_B3); //position head&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //big&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); // ole&lt;br /&gt;delay_ms(200);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(200);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //tit&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //ies&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //and&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); // beer&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(700);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //my&lt;br /&gt;delay_ms(200);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //little&lt;br /&gt;delay_ms(200);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //tit&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //ies&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); // and&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); // berr&lt;br /&gt;delay_ms(200);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(1300);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //great&lt;br /&gt;delay_ms(200);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); // big&lt;br /&gt;delay_ms(200);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //tit&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //ies&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); // and&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //my&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //beer&lt;br /&gt;delay_ms(200);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(1900);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //god&lt;br /&gt;delay_ms(200);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); // damit&lt;br /&gt;delay_ms(200);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); // i&lt;br /&gt;delay_ms(200);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); // love&lt;br /&gt;delay_ms(200);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(200);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); // those&lt;br /&gt;delay_ms(200);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(200);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); // mother&lt;br /&gt;delay_ms(200);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(200);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); // fuckin&lt;br /&gt;delay_ms(200);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(200);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //tit&lt;br /&gt;delay_ms(200);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(200);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //ies&lt;br /&gt;delay_ms(200);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(2700);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); // fuck&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(500);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;output_low(PIN_B3); //position head&lt;br /&gt;&lt;br /&gt;output_high(PIN_D2); //stop track&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_D2);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;delay_ms(5000);&lt;br /&gt;output_high(PIN_D4); //turn off mp3 player&lt;br /&gt;delay_ms(1000);&lt;br /&gt;output_low(PIN_D4);&lt;br /&gt;delay_ms(3000);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;else if(input_state(PIN_B7)==1) //pubah&lt;br /&gt;&lt;br /&gt;{&lt;br /&gt;output_high(PIN_D4); //turn on mp3 player&lt;br /&gt;delay_ms(1000);&lt;br /&gt;output_low(PIN_D4);&lt;br /&gt;delay_ms(2000);&lt;br /&gt;&lt;br /&gt;output_high(PIN_D0); //turn volume to max&lt;br /&gt;delay_ms(1000);&lt;br /&gt;output_low(PIN_D0);&lt;br /&gt;delay_ms(1000);&lt;br /&gt;&lt;br /&gt;output_high(PIN_D3); //track advance to 2.wma&lt;br /&gt;delay_ms(50);&lt;br /&gt;output_low(PIN_D3);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_D3); //track advance to 3.wma&lt;br /&gt;delay_ms(50);&lt;br /&gt;output_low(PIN_D3);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_D3); //track advance to 4.wma&lt;br /&gt;delay_ms(50);&lt;br /&gt;output_low(PIN_D3);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_D3); //track advance to 5.wma&lt;br /&gt;delay_ms(50);&lt;br /&gt;output_low(PIN_D3);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_D3); //track advance to 6.wma&lt;br /&gt;delay_ms(50);&lt;br /&gt;output_low(PIN_D3);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_D3); //track advance to 7.wma&lt;br /&gt;delay_ms(50);&lt;br /&gt;output_low(PIN_D3);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_D3); //track advance to 8.wma&lt;br /&gt;delay_ms(50);&lt;br /&gt;output_low(PIN_D3);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_D3); //track advance to 9.wma&lt;br /&gt;delay_ms(50);&lt;br /&gt;output_low(PIN_D3);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_D3); //track advance to 10.wma&lt;br /&gt;delay_ms(50);&lt;br /&gt;output_low(PIN_D3);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_D1); //play track 10.wma&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_D1);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;delay_ms(10360);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B4); //position head&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //hey&lt;br /&gt;delay_ms(200);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(500);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //wait&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //a&lt;br /&gt;delay_ms(50);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(50);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //minute&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(1000);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //whats&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //that&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //smell&lt;br /&gt;delay_ms(200);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(2000);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //smells&lt;br /&gt;delay_ms(200);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(200);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //like&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(200);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //somethings&lt;br /&gt;delay_ms(150);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //burning&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(3500);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //well&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //that&lt;br /&gt;delay_ms(75);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(50);&lt;br /&gt;&lt;br /&gt;output_low(PIN_B4); //position head&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //don't&lt;br /&gt;delay_ms(75);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //confront&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //me&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //none&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(990);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //long&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //as&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); // I&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); // get&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //my&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); // rent&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //paid&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //on&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //friday&lt;br /&gt;delay_ms(200);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(3016);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B4); //position head&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); // baby&lt;br /&gt;delay_ms(50);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(50);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); // you&lt;br /&gt;delay_ms(50);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(50);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); // better&lt;br /&gt;delay_ms(50);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(50);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); // get&lt;br /&gt;delay_ms(50);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(50);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); // back&lt;br /&gt;delay_ms(50);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(50);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //in&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); // the&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); // kitchen&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(2700);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //cause&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); // I&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); // gotta&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); // sneaked&lt;br /&gt;delay_ms(800);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(200);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); // suspision&lt;br /&gt;delay_ms(800);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(1500);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); // a&lt;br /&gt;delay_ms(200);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); // man&lt;br /&gt;delay_ms(300);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(200);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); // bay&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); // be&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(1400);&lt;br /&gt;&lt;br /&gt;output_low(PIN_B4); //position head&lt;br /&gt;delay_ms(10);&lt;br /&gt;output_high(PIN_B3); //position head&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); // bay!&lt;br /&gt;delay_ms(250);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); // be!&lt;br /&gt;delay_ms(250);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(700);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //you&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //just&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //burn&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); // my&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); // balls&lt;br /&gt;delay_ms(1000);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(2000);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); // say&lt;br /&gt;delay_ms(400);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); // everybody&lt;br /&gt;delay_ms(150);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(150);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); // have&lt;br /&gt;delay_ms(50);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(50);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //you&lt;br /&gt;delay_ms(50);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(50);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //seen&lt;br /&gt;delay_ms(200);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //my&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); // balls&lt;br /&gt;delay_ms(300);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(300);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); //there&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); // big&lt;br /&gt;delay_ms(300);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); // salty&lt;br /&gt;delay_ms(300);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); // and&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(50);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); // brown&lt;br /&gt;delay_ms(300);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(500);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); // if&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); // you&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); // ever&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); // need&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(500);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); // a&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); // quick&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(200);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); // pick&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); // me up&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); // up&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); // just&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); // stick&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); // balls&lt;br /&gt;delay_ms(300);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); // in&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); // your&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); // mouth&lt;br /&gt;delay_ms(1000);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(200);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); // suck&lt;br /&gt;delay_ms(200);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); // on&lt;br /&gt;delay_ms(200);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); // my&lt;br /&gt;delay_ms(200);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); // chocolate&lt;br /&gt;delay_ms(300);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); // salty&lt;br /&gt;delay_ms(300);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); // balls&lt;br /&gt;delay_ms(400);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(2000);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); // put&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); // em&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); // in&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); // your&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); // mouth&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); // and&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); // sucken&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(1800);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); // suck&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); // on&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); // my&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;output_high(PIN_B1); // balls&lt;br /&gt;delay_ms(200);&lt;br /&gt;output_low(PIN_B1);&lt;br /&gt;delay_ms(1100);&lt;br /&gt;&lt;br /&gt;output_low(PIN_B3); //position head&lt;br /&gt;&lt;br /&gt;output_high(PIN_D2); //stop track&lt;br /&gt;delay_ms(100);&lt;br /&gt;output_low(PIN_D2);&lt;br /&gt;delay_ms(100);&lt;br /&gt;&lt;br /&gt;delay_ms(5000);&lt;br /&gt;output_high(PIN_D4); //turn off mp3 player&lt;br /&gt;delay_ms(1000);&lt;br /&gt;output_low(PIN_D4);&lt;br /&gt;delay_ms(3000);&lt;br /&gt;}&lt;br /&gt;break;&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;else if(input_state(PIN_E1)==0)&lt;br /&gt;&lt;br /&gt;{&lt;br /&gt;output_high(PIN_A2); //turn off red&lt;br /&gt;output_high(PIN_A3);&lt;br /&gt;&lt;br /&gt;output_high(PIN_A0); //turn off blue&lt;br /&gt;output_high(PIN_A5);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;output_low(PIN_A1); //turn green on&lt;br /&gt;output_low(PIN_A4);&lt;br /&gt;&lt;/span&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;************************************************************************************* &lt;/div&gt;&lt;div align="left"&gt;&lt;/div&gt;&lt;div align="left"&gt;&lt;strong&gt;&lt;span style="color:#ffffff;"&gt;BUGS / LESSONS LEARNED&lt;br /&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;&lt;div align="left"&gt;&lt;/div&gt;&lt;div align="left"&gt;&lt;p&gt;**I would have not thrown out the original board. I would have kept and hacked it and used it to control the current to the 3 motors on the fish. I had major issues with it locking up when acuating these motors.&lt;br /&gt;&lt;/div&gt;&lt;div align="left"&gt;&lt;/div&gt;&lt;div align="left"&gt; &lt;/div&gt;&lt;div align="left"&gt; &lt;/div&gt;&lt;div align="left"&gt;&lt;p&gt;**I would have used a MP3 player that had a built in amplifier, such as the EGG player I talked about.&lt;/div&gt;&lt;div align="left"&gt;&lt;/div&gt;&lt;div align="left"&gt;&lt;/div&gt;&lt;div align="left"&gt; &lt;/div&gt;&lt;div align="left"&gt; &lt;/div&gt;&lt;div align="left"&gt;&lt;p&gt;**The MP3 player had a nasty habit of turning on when the power was turned on to the system. It is NOT SUPPOSED to do this, since the code turns the player on, plays the track and turns the player off. So if the player is on when the code tells it to turn on, it will just turn itself off. There were many a run when the fish would be talking with no sound coming from the speakers. This was finally fixed by updateing the firmware to the MP3 player.&lt;/div&gt;&lt;div align="left"&gt;&lt;/div&gt;&lt;div align="left"&gt;&lt;/div&gt;&lt;div align="left"&gt; &lt;/div&gt;&lt;div align="left"&gt; &lt;/div&gt;&lt;div align="left"&gt;&lt;p&gt;Lesson learned? &lt;/div&gt;&lt;div align="left"&gt;&lt;/div&gt;&lt;div align="left"&gt;&lt;strong&gt;&lt;span style="color:#ff0000;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;&lt;div align="left"&gt;&lt;strong&gt;&lt;span style="color:#ff0000;"&gt;&lt;/span&gt;&lt;/strong&gt; &lt;/div&gt;&lt;div align="left"&gt;&lt;strong&gt;&lt;span style="color:#ff0000;"&gt;&lt;/span&gt;&lt;/strong&gt; &lt;/div&gt;&lt;div align="left"&gt;&lt;strong&gt;&lt;span style="color:#ff0000;"&gt;&lt;p&gt;UPDATE SOFTWARE FOR HARDWARE BEFORE HACKING SAID HARDWARE.&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;&lt;div align="left"&gt;&lt;/div&gt;&lt;div align="left"&gt;&lt;/div&gt;&lt;div align="left"&gt; &lt;/div&gt;&lt;div align="left"&gt; &lt;/div&gt;&lt;div align="left"&gt;&lt;p&gt;Hope you enjoyed! Please let me know of what I could have done better. I'm new to C coding, so I know it's messy. But it works.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div align="left"&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div align="left"&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div align="left"&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div align="left"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div align="left"&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div align="center"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4932027356853323421-6447169634169236952?l=thesecretsanta2009.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thesecretsanta2009.blogspot.com/feeds/6447169634169236952/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thesecretsanta2009.blogspot.com/2010/01/secret-santa-2009-project-hi-res-pic-i.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4932027356853323421/posts/default/6447169634169236952'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4932027356853323421/posts/default/6447169634169236952'/><link rel='alternate' type='text/html' href='http://thesecretsanta2009.blogspot.com/2010/01/secret-santa-2009-project-hi-res-pic-i.html' title=''/><author><name>Will</name><uri>http://www.blogger.com/profile/11796140042319547706</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_J08j7zRLUvQ/S1NN7__A0zI/AAAAAAAAABI/CjlFwwIrO4I/s72-c/mp3_4.JPG' height='72' width='72'/><thr:total>0</thr:total></entry></feed>
