Added timeout functionality

Fork of HCSR04 by Antoniolinux B.

no such method: docs