HCSR04 class of PicoRuby

Singleton methods

new

HCSR04.new(trig: Integer, echo: Integer) -> void

Instance methods

distance_cm

instance.distance_cm() -> Integer
Tags: class