DHT11 Temp & Humidity Sensor icon DHT11 Temp & Humidity Sensor Read DHT11 temperature and humidity on Arduino (signal pin 4) using EZ-Genuino_DTH11_Uno firmware; exposes $Temp and $Humid variables. Try it →
 

Get

Ping.get(triggerPort, echoPort, [ezbIndex])

Parameters

triggerPort Trigger port used by the ultrasonic distance sensor.
echoPort Echo port used by the ultrasonic distance sensor.
ezbIndex (optional) Board index of the EZB to use.

Returns

The value measured from the ultrasonic distance sensor as a number between 0 and 255.

Description

Pings the ultrasonic distance sensor once and returns the value measured.