My Hc-sr04 arrived today and I'm connecting it using a bread board. It's a bit difficult. I want to mount the ping sensor directly on the arduino. But I don't know how to make a pin act as ground. Am I supposed to make it as an input? Or set it as an output and set it to low?
Thanks!