Hey Fernando,
The protocol is documented here:
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@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