- Edited
Hi! I'm fairly new to both pd and bela, and I'm trying to read data from an ultrasonic sensor (HC-SR04) with digital pins (I got it to work in C++ with chaning the trigger analog to digital instead, which is why both are digital - not sure if one should be digital and the other analog in pd). I've read through the examples and blog post about it, but can't quite get it to print the values out. I'm not sure if I'm even close to get it correct but would really appreciate some help =)