add ways to ping

include loop ,wiringPi’s interrupt
Python’s loop