If I understand correctly, I should change the ping pin to trigger pin and add a routine with the echo pin as an input. I'm sorry that I'm asking in detail, but I'm new to this and my strong point is not programming.
If I understand correctly, I should change the ping pin to trigger pin and add a routine with the echo pin as an input. I'm sorry that I'm asking in detail, but I'm new to this and my strong point is not programming.