Thank you both for your replies.<br>I don&#39;t think i will need multiplexing. <br>@Pedro : what do you mean by &quot;fluctuate a little&quot;? This could be anoying if they fluctuate too much, because i wanted to use a pot to control a delay length (you can hear gliches if the delay length jumps from one value to another rapidly). <br>
<br>I think i will get the Mega. It&#39;s not too expensive (probably quite cheap actually), and i could use it for something else later on.<br>On last question : is it powered by USB, or do i need a power adaptor? <br><br>
Thanks again for your help!<br><br>Pierre<br><br><div class="gmail_quote">2011/4/10 Pedro Lopes <span dir="ltr">&lt;<a href="mailto:pedro.lopes@ist.utl.pt">pedro.lopes@ist.utl.pt</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;">
Depends on what you want the leds to do. If you simply want them to shine when buttons are pressed, dont waste arduino code on that. But if you want them to blink or react to the controller state (hence code) they&#39;ll have to be controlled via some digital pins (in output state) as Goyard stated, as thus you are requesting more pins (maybe the mega as I say in my first message).<div>


<br></div><div>Althought: multiplexing LEDs is very easy. 3 outputs can control 8 leds and so forth. But more coding/control effort.<div><div></div><div class="h5"><br><br><div class="gmail_quote">On Sun, Apr 10, 2011 at 3:12 PM, Charles Goyard <span dir="ltr">&lt;<a href="mailto:cg@fsck.fr" target="_blank">cg@fsck.fr</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div>Pierre Massat wrote:<br>
&gt;<br>
&gt; I also saw that the board could power LEDs. This could be very interesting,<br>
<br>
</div>Yes, but the Digital Input are &quot;shared&quot; with the digital outputs. So if<br>
you put a button on a line, you cannot put a led too. You have up to 12<br>
inputs/outputs IN TOTAL. You choose in your program if you want<br>
something to be a input or an output.<br>
<br>
Given your questions (no offense), I would go with a Mega board and not<br>
bother with multiplexing yet. That way you get a fully assembled,<br>
ready-to-use 50 inputs/outputs for your leds and buttons, + 16 analog<br>
inputs, with plenty of program space.<br>
<br>
--<br>
<font color="#888888">Charles<br>
</font><div><div></div><div><br>
_______________________________________________<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/listinfo/pd-list</a><br>
</div></div></blockquote></div><br><br clear="all"><br></div></div><div class="im">-- <br>Pedro Lopes (MSc)<br>contact: <a href="mailto:pedro.lopes@ist.utl.pt" target="_blank">pedro.lopes@ist.utl.pt</a><br>website: <a href="http://web.ist.utl.pt/Pedro.Lopes" target="_blank">http://web.ist.utl.pt/Pedro.Lopes</a> / <a href="http://pedrolopesresearch.wordpress.com/" target="_blank">http://pedrolopesresearch.wordpress.com/</a> | <a href="http://twitter.com/plopesresearch" target="_blank">http://twitter.com/plopesresearch</a><br>



</div></div>
<br>_______________________________________________<br>
<a href="mailto:Pd-list@iem.at">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/listinfo/pd-list</a><br>
<br></blockquote></div><br>