<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[ChipMusic.org - Detect button press on DMG by Arduino?]]></title>
	<link rel="self" href="https://chipmusic.org:80/forums/feed/atom/topic/14567/"/>
	<updated>2014-06-20T20:16:04Z</updated>
	<generator>PunBB</generator>
	<id>https://chipmusic.org/forums/topic/14567/detect-button-press-on-dmg-by-arduino/</id>
		<entry>
			<title type="html"><![CDATA[Re: Detect button press on DMG by Arduino?]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/211432/#p211432"/>
			<content type="html"><![CDATA[<p>Let us know how it goes, with photos!</p>]]></content>
			<author>
				<name><![CDATA[Jazzmarazz]]></name>
				<uri>https://chipmusic.org/Jazzmarazz</uri>
			</author>
			<updated>2014-06-20T20:16:04Z</updated>
			<id>https://chipmusic.org/forums/post/211432/#p211432</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Detect button press on DMG by Arduino?]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/211384/#p211384"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>Jazzmarazz wrote:</cite><blockquote><p>This will...only work when the gambeoy itself is looking to read buttons though. If you want to be able to read presses at any time, I cannot help you. To be honest, the gameboy may be looking for a button press a million times a second, so the compromise is minimal at best.</p></blockquote></div><br /><p>Oh that&#039;s quite enough for me <img src="https://chipmusic.org/forums/img/smilies/smile.png" width="15" height="15" alt="smile" /> Thank you kindly <img src="https://chipmusic.org/forums/img/smilies/wink.png" width="15" height="15" alt="wink" /></p>]]></content>
			<author>
				<name><![CDATA[friendofmegaman]]></name>
				<uri>https://chipmusic.org/friendofmegaman</uri>
			</author>
			<updated>2014-06-19T23:48:40Z</updated>
			<id>https://chipmusic.org/forums/post/211384/#p211384</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Detect button press on DMG by Arduino?]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/211245/#p211245"/>
			<content type="html"><![CDATA[<p>This will...only work when the gambeoy itself is looking to read buttons though. If you want to be able to read presses at any time, I cannot help you. To be honest, the gameboy may be looking for a button press a million times a second, so the compromise is minimal at best.</p>]]></content>
			<author>
				<name><![CDATA[Jazzmarazz]]></name>
				<uri>https://chipmusic.org/Jazzmarazz</uri>
			</author>
			<updated>2014-06-17T22:05:59Z</updated>
			<id>https://chipmusic.org/forums/post/211245/#p211245</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Detect button press on DMG by Arduino?]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/211244/#p211244"/>
			<content type="html"><![CDATA[<p>Easy, read the data sheet. lol<br /><a href="http://www.devrs.com/gb/files/gbspec.txt" target="_blank">http://www.devrs.com/gb/files/gbspec.txt</a><br />CTRL+F &quot;I/O Registers&quot;<br />and read up on how the GB reads button presses and then check the schemataic:<br /><a href="http://www.freeinfosociety.com/electronics/schemview.php?id=1449" target="_blank">http://www.freeinfosociety.com/electron &#133; hp?id=1449</a></p><p>I suggest connecting P10 - P15 to digital inputs. Enable pull ups on your P10-P13 inputs. Conventional code will<br />1. activate P14,<br />2. read P10 - P13<br />3. deactivate P14<br />4. activate P15<br />2. read P10 - P13</p><p>Connect P14 and P15 to interrupts and when one goes low, read P10-P13. The datasheet will tell you how to know which button is pressed.</p>]]></content>
			<author>
				<name><![CDATA[Jazzmarazz]]></name>
				<uri>https://chipmusic.org/Jazzmarazz</uri>
			</author>
			<updated>2014-06-17T22:04:05Z</updated>
			<id>https://chipmusic.org/forums/post/211244/#p211244</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Detect button press on DMG by Arduino?]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/211241/#p211241"/>
			<content type="html"><![CDATA[<p>Today I&#039;m being one of those annoying people who creates two (or more) topics in a row.</p><p>The idea: RGB backlight + RGB LEDs to illuminate silicon buttons. All controlled by Arduino. </p><p>When a button pressed it lights up in its own color (say, A - red, B - green, DPAD-blue, etc). </p><p>In the variable clock mode (when LTC is on that is) all buttons are lit and the color changes depending on the speed. Blue (Slow) -&gt; Red (Fast). Thus the pot will be a stereo pot.</p><p>Now the question is - how to let arduino know that a button was pressed?</p>]]></content>
			<author>
				<name><![CDATA[friendofmegaman]]></name>
				<uri>https://chipmusic.org/friendofmegaman</uri>
			</author>
			<updated>2014-06-17T21:53:06Z</updated>
			<id>https://chipmusic.org/forums/post/211241/#p211241</id>
		</entry>
</feed>
