[PD] arduino mega and firmata, can i use all pins?

FernandoG dataferx at gmail.com
Sat Jun 25 02:40:43 CEST 2011


Oka Thanks

Tyler, maybe you can try flashing a led in any output from pin 14 to 40. In
this post. http://arduino.cc/forum/index.php/topic,62256.0.html   a guy said
he cant use this pins as input, in my case i need this pins as output to
flash a led.

Thanks



2011/6/24 Tyler Leavitt <thecryoflove at gmail.com>

> I've not had any problems usin my Mega with [arduino]... tho I've never
> gotten anywhere near 40 digital outputs. Send me 40 LED's and I'll test em
> out for ya =)
>
> On Fri, Jun 24, 2011 at 11:23 AM, Martin Peach <martin.peach at sympatico.ca>wrote:
>
>> On 2011-06-24 13:59, FernandoG wrote:
>>
>>> Hi !
>>>
>>> I am in a proyect where i need to use 40 outputs digital pins and 15
>>> analog input conected to a pd patch. I know arduino mega could be a good
>>> solution, but searching in the web i found a post where someone said
>>> arduino mega doesnt work with pd frimata,
>>> http://arduino.cc/forum/index.**php/topic,62256.0.html<http://arduino.cc/forum/index.php/topic,62256.0.html>  please somebody
>>> know if this is true? there is no way to use all analog inputs and
>>> digital outputs from arduino mega?
>>>
>>>
>> I guess you need to find someone who actually has an arduino mega.
>> Just from looking at the firmata code, it seems to be compatible with all
>> the different arduino variants. I would guess that it's the Pd patch that
>> needs to be adapted to use a mega. You can probably figure out what does
>> what and extend it.
>>
>> 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].
>>
>> Martin
>>
>> ______________________________**_________________
>> Pd-list at iem.at mailing list
>> UNSUBSCRIBE and account-management -> http://lists.puredata.info/**
>> listinfo/pd-list <http://lists.puredata.info/listinfo/pd-list>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20110624/40fd8132/attachment-0001.htm>


More information about the Pd-list mailing list