Marko Timlin ha scritto:
Moi, does anybody know, if it is possible to control the Ping(ultrasonic range finder)sensor using only Pduino (first uploading Pd-firmware to the arduino, and then using the "arduino" pure data patch?). It doesn't work for me at the moment.
If I write my own ping-sensor-patch for arduino and then use the PD_inputs_to_PD patch it works fine.
But I'd like to use several different sensors and it would therefore be much easier to just control all of them with Pduino and not writing new code for arduino all the time. Well, guess this was the original idea of Pduino anyways :-)
I had the same problem. you can find the code I wrote fr making the ultrasonic ranger work, here: http://puredata.info/Members/federico/arduino
despite its simplicity, I had troubles integrating it into Pduino firmware
anyway that's the proof-of-concept that it works
hth