Thank you both for your replies. I don't think i will need multiplexing. @Pedro : what do you mean by "fluctuate a little"? 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).
I think i will get the Mega. It's not too expensive (probably quite cheap actually), and i could use it for something else later on. On last question : is it powered by USB, or do i need a power adaptor? Thanks again for your help! Pierre 2011/4/10 Pedro Lopes <pedro.lo...@ist.utl.pt> > 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'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). > > Althought: multiplexing LEDs is very easy. 3 outputs can control 8 leds and > so forth. But more coding/control effort. > > > On Sun, Apr 10, 2011 at 3:12 PM, Charles Goyard <c...@fsck.fr> wrote: > >> Pierre Massat wrote: >> > >> > I also saw that the board could power LEDs. This could be very >> interesting, >> >> Yes, but the Digital Input are "shared" with the digital outputs. So if >> you put a button on a line, you cannot put a led too. You have up to 12 >> inputs/outputs IN TOTAL. You choose in your program if you want >> something to be a input or an output. >> >> Given your questions (no offense), I would go with a Mega board and not >> bother with multiplexing yet. That way you get a fully assembled, >> ready-to-use 50 inputs/outputs for your leds and buttons, + 16 analog >> inputs, with plenty of program space. >> >> -- >> Charles >> >> _______________________________________________ >> Pd-list@iem.at mailing list >> UNSUBSCRIBE and account-management -> >> http://lists.puredata.info/listinfo/pd-list >> > > > > -- > Pedro Lopes (MSc) > contact: pedro.lo...@ist.utl.pt > website: http://web.ist.utl.pt/Pedro.Lopes / > http://pedrolopesresearch.wordpress.com/ | > http://twitter.com/plopesresearch > > _______________________________________________ > Pd-list@iem.at mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list > >
_______________________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list