[PD] Expanding Pduino-0.5beta6-mega

Hans-Christoph Steiner hans at at.or.at
Fri Jul 15 23:09:47 CEST 2011


Hey Fernando,

The protocol is documented here:
http://firmata.org/wiki/Protocol

A digital message will give you a 'port', which is 8 pins.  The  
digital command is 0x90, and that's combined with the port#, so 0x90  
means digital port 0, 0x91 means digitial port 1, etc. all the way to  
0x9f which is port 15.  Pins 24-37 are on port 3, so you want to look  
for messages starting with 0x93.

hc

On Jul 7, 2011, at 9:41 PM, FernandoG wrote:

> Hello
>
> I am triyng to expand Pduino to use with arduino mega. I founded  
> Pduino-0.5beta6-mega patch in this web site http://www.pjrc.com/tmp/firmata/readme.html 
>  ,the patch works prety well but its implemented until digital pin  
> 23 and i need to implement the rest of the pins. If I add the rest  
> of digital pins in /pd sending digital outs/pd generate digital out  
> messages/ just like other pins are implemented, pins from 24 to 37  
> are not working. I has been trying to understand how the messages  
> system works but i cant really understand. By example which kinds of  
> values i must get if i print values from arduino/pd command  
> processing/pd digital-out  outputs? where i can found and  
> explanation of how the messages sistem works, by example in the  
> subpatch /pd digital-out ?
>
> thanks
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list


----------------------------------------------------------------------------

I hate it when they say, "He gave his life for his country."  Nobody  
gives their life for anything.  We steal the lives of these kids.  - 
Admiral Gene LeRocque

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20110715/755e7dbe/attachment.htm>


More information about the Pd-list mailing list