Hi, I would like to ask to code in sc for controlling or getting messages from hc-sro4 sensor connect to BELA. Does exist written sc code for it? I tried to transform code from the example of IDE to sc but unsuccesfully.
Thanks in advance for some comment.
hc-sro4 + supercollider
I don't think there is example Sc code for it. You should set a pin high and then wait until you receive a "high" on the input pin and count the time between the two events. Not sure how to achieve this in supercollider, but maybe you do!