Hello Rick,
This sound like a problem in the serial connection, maybe the arduino misses 
some data because they are send to fast.
Have you tried to slow down the messages you send (not sending them all on the 
same time)?
Have you try to configure and use all pin interdependently?

Cheers
C


Le 13/04/2023 à 23:28, Rick Snow a écrit :
Hello list,

I am helping someone use pd with an arduino mega.  They would like to use all 
of the digital output pins.  I’ve used pduino in the past in this way and not 
had trouble, but I seem to be bumping into something now.

I started by using the arduino help patch.  StandardFirmata sketch on the Mega. 
 Connection via usb works fine.

I set all the pins to output by sending "pinMode 2 output” -> “pinMode 45 
output” messages to the arduino object. No errors.

Then, I use the messages “digital 2 1” “digital 2 0” -> “digital 45 1” “digital 
45 0” sent to the arduino object to check the pins.  When checking with a 
multimeter I am not able to get output from pins 2-7.  I do get output from 8-20.  
Between 20-40 some pins work and others not at all.  Other pins will turn on but 
not turn off.

Checking the pins using a simple blink sketch shows all the pins working fine.

Any advice would be greatly appreciate!

Cheers,
Rick





_______________________________________________
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list



_______________________________________________
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list

Reply via email to