Oka Thanks<br><br>Tyler, maybe you can try flashing a led in any output from pin 14 to 40. In this post. <a href="http://arduino.cc/forum/index.php/topic,62256.0.html" target="_blank">http://arduino.cc/forum/index.php/topic,62256.0.html</a>   a guy said he cant use this pins as input, in my case i need this pins as output to flash a led. <br>
<br>Thanks<br><br><br><br><div class="gmail_quote">2011/6/24 Tyler Leavitt <span dir="ltr">&lt;<a href="mailto:thecryoflove@gmail.com" target="_blank">thecryoflove@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

I&#39;ve not had any problems usin my Mega with [arduino]... tho I&#39;ve never gotten anywhere near 40 digital outputs. Send me 40 LED&#39;s and I&#39;ll test em out for ya =)<div><br><div class="gmail_quote"><div><div>
</div>
<div>On Fri, Jun 24, 2011 at 11:23 AM, Martin Peach <span dir="ltr">&lt;<a href="mailto:martin.peach@sympatico.ca" target="_blank">martin.peach@sympatico.ca</a>&gt;</span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div></div><div><div><div></div><div>On 2011-06-24 13:59, FernandoG wrote:<br>


<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi !<br>
<br>
I am in a proyect where i need to use 40 outputs digital pins and 15<br>
analog input conected to a pd patch. I know arduino mega could be a good<br>
solution, but searching in the web i found a post where someone said<br>
arduino mega doesnt work with pd frimata,<br>
<a href="http://arduino.cc/forum/index.php/topic,62256.0.html" target="_blank">http://arduino.cc/forum/index.<u></u>php/topic,62256.0.html</a>   please somebody<br>
know if this is true? there is no way to use all analog inputs and<br>
digital outputs from arduino mega?<br>
<br>
</blockquote>
<br></div></div>
I guess you need to find someone who actually has an arduino mega.<br>
Just from looking at the firmata code, it seems to be compatible with all the different arduino variants. I would guess that it&#39;s the Pd patch that needs to be adapted to use a mega. You can probably figure out what does what and extend it.<br>



<br>
OTOH it is entirely feasible to write an arduino program that will do anything its microcontroller can do. Firmata turns the arduino into a kind of generic I/O box, but it is often more efficient to do precisely what you want by programming it directly. As long as the arduino software can set the 40 pins as outputs and read the 15 analog pins, then it is possible to control that from Pd via [comport].<br>



<br>
Martin<br>
<br></div></div>
______________________________<u></u>_________________<br>
<a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/<u></u>listinfo/pd-list</a><br>
</blockquote></div><br></div>
</blockquote></div><br>