Just trying to figure out making a HC-sr04 control a led bar, 8 led’s. I’ve got a clock set at .25, going to the sonic sensor, then I get lost. Is the sonic sensor outputting what? 0,1, or analog, or data? Is there a way to use serial data to see the output?
I do have the LED ports set to the connected pins 2,3,4,5,6, 11,12,13.