Raspberry PI - RPi.GPIO - Please explain for me why it is wrong

python
raspberrypi

#1

I write this code for distance sensor HCSR04
and it can not print out anything
it stop at wait_for_edge (echo, RISING)

may be i dont know something, so please help me !

thanks bro


#2

@devsolver01297,
Maybe you should give some pin-info to your program
http://stackoverflow.com/questions/32801355/python-code-for-distance-sensor-and-relay-raspberry-pi