I am taking inputs from from two digital pins and using the Serial.write function to communicate with pd.
In pd I am using the comport object to get the output from the digital pin.
But I cant get separate toggle outputs for the two pins in pure data.
the patch I am using is
devices port no
open $1 close
comport
toggle
but I cant separate the toggles for the two digital pin inputs.
please suggest