Hey guys;
I've just got my hands on an Arduino and have started having a little play with it.
I've followed this link: http://nf-interactive.blogspot.co.uk/2011/02/pure-data-to-arduino.html
And managed to get that simple patch working. I've modified the PD patch a little to trigger the LED on port 9 when a bang connected to a kick drum is hit:
This works, but I've now hit a road block.
I'd like 1 bang (Kick) to trigger 1 LED on port 9 as it is at the moment, but I'd also like another bang, connected to a snare to trigger another LED on port 8.
I've absolutely no idea how to do this. I'm sure it's not too hard but I'm very inexperienced with coding. I've tried searching Google, Arduino forum and this one here, but no success.
I've given it a go at writing the code but it's not working and I'm not sure what more I need to add to PD.
Here's what I've tried to do:
But it doesn't work. I've a little bit of experience with coding Processing, but no idea when it comes to Arduino.
Please please can someone help me out here?
Thanking you