<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[ChipMusic.org - Arduinoboy mGB mode LED question]]></title>
	<link rel="self" href="https://chipmusic.org:80/forums/feed/atom/topic/6565/"/>
	<updated>2012-04-01T20:21:26Z</updated>
	<generator>PunBB</generator>
	<id>https://chipmusic.org/forums/topic/6565/arduinoboy-mgb-mode-led-question/</id>
		<entry>
			<title type="html"><![CDATA[Re: Arduinoboy mGB mode LED question]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/97695/#p97695"/>
			<content type="html"><![CDATA[<p>Hi trash80! ... Well I didn&#039;t change the code that way and that&#039;s why... Later when I tried usb mode I use the default code.<br />I see what you mean. Basically problem is solved^^ Thanks to all!</p>]]></content>
			<author>
				<name><![CDATA[syn]]></name>
				<uri>https://chipmusic.org/syn</uri>
			</author>
			<updated>2012-04-01T20:21:26Z</updated>
			<id>https://chipmusic.org/forums/post/97695/#p97695</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Arduinoboy mGB mode LED question]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/97677/#p97677"/>
			<content type="html"><![CDATA[<p>If the lights flash to incoming midi data than the sparkfun shield&#039;s midi circuit is working. Also how did you change the pin numbers for the gameboy data pins in the code? It is all done by sending data directly to the port so I&#039;d imagine you&#039;d have to do quite a bit in a few places ie ... from:<br /></p><div class="codebox"><pre><code>   if(send_byte &amp; 0x80) {
       PORTC = B00000010;
       PORTC = B00000011;
   } else {
       PORTC = B00000000;
       PORTC = B00000001;
   }</code></pre></div><p>to this:<br /></p><div class="codebox"><pre><code>   if(send_byte &amp; 0x80) {
       PORTC = B00001000;
       PORTC = B00001100;
   } else {
       PORTC = B00000000;
       PORTC = B00000100;
   }</code></pre></div><p>Have you tried having it plugged into usb just for power and still use the MIDI input?</p>]]></content>
			<author>
				<name><![CDATA[Trash80]]></name>
				<uri>https://chipmusic.org/Trash80</uri>
			</author>
			<updated>2012-04-01T17:34:17Z</updated>
			<id>https://chipmusic.org/forums/post/97677/#p97677</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Arduinoboy mGB mode LED question]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/97628/#p97628"/>
			<content type="html"><![CDATA[<p>Here&#039;s some updates. I tried the usb mode as blogged here: <a href="http://txton.net/hoehoe/2010/100511030849.html" target="_blank">http://txton.net/hoehoe/2010/100511030849.html</a><br />Everything works! So I think it might be the sparkfun midi shield&#039;s &#039;midi in&#039; problem(I tested the midi out, seems fine). Either it could be a connection problem or the shield itself... Any thoughts?</p>]]></content>
			<author>
				<name><![CDATA[syn]]></name>
				<uri>https://chipmusic.org/syn</uri>
			</author>
			<updated>2012-04-01T11:17:36Z</updated>
			<id>https://chipmusic.org/forums/post/97628/#p97628</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Arduinoboy mGB mode LED question]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/97612/#p97612"/>
			<content type="html"><![CDATA[<p><a href="http://www.sparkfun.com/products/9595" target="_blank">http://www.sparkfun.com/products/9595</a> here is the right link. 404 due to the point in the end.</p>]]></content>
			<author>
				<name><![CDATA[syn]]></name>
				<uri>https://chipmusic.org/syn</uri>
			</author>
			<updated>2012-04-01T10:10:09Z</updated>
			<id>https://chipmusic.org/forums/post/97612/#p97612</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Arduinoboy mGB mode LED question]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/97611/#p97611"/>
			<content type="html"><![CDATA[<p>Link goes to a 404, heads up.</p>]]></content>
			<author>
				<name><![CDATA[GoingHam]]></name>
				<uri>https://chipmusic.org/GoingHam</uri>
			</author>
			<updated>2012-04-01T10:08:42Z</updated>
			<id>https://chipmusic.org/forums/post/97611/#p97611</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Arduinoboy mGB mode LED question]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/97599/#p97599"/>
			<content type="html"><![CDATA[<p>Anyone please???</p>]]></content>
			<author>
				<name><![CDATA[syn]]></name>
				<uri>https://chipmusic.org/syn</uri>
			</author>
			<updated>2012-04-01T07:50:22Z</updated>
			<id>https://chipmusic.org/forums/post/97599/#p97599</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Arduinoboy mGB mode LED question]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/97484/#p97484"/>
			<content type="html"><![CDATA[<p>Hi all, I&#039;m new here:)</p><p>I recently built an Arduinoboy by following the Instructables&#039; guide. I used the sparkfun&#039;s midi shield: <a href="http://www.sparkfun.com/products/9595." target="_blank">http://www.sparkfun.com/products/9595.</a> As the shield use analog 0 and 1 I changed the Arduinoboy code by assigning the pins to 2,3,4 for the gameboy cable instead of 0,1,2. The circuit should be right... The LEDs flash and I can switch modes.</p><p>However when I tried the mGB mode as the guide said, no sound comes out from the gameboy advance (with an EMS cart). I also noticed that under mGB mode when I hit keys on my m-audio instrument (m-audio send midi signal to Arduino), the LED 12 blinks indicating midi channel one active though no sound. But when I changed to channel 2, no LED blinks, same for the other channels. What did I do wrong? I haven&#039;t tried other modes yet. Besides, when I turn up gameboy I can no longer loop back to previous mode, any thoughts? Hope these questions are not too stupid.</p><p>Someone kind enough to help me out:)<br />Thanks in advance!</p>]]></content>
			<author>
				<name><![CDATA[syn]]></name>
				<uri>https://chipmusic.org/syn</uri>
			</author>
			<updated>2012-03-31T20:39:01Z</updated>
			<id>https://chipmusic.org/forums/post/97484/#p97484</id>
		</entry>
</feed>
