IoT Drivers  v3.3.0 (S2022)
Engineering in Software Technology
Basic driver functions

Commonly used functions. Here you you will find the functions you normally will need. More...

Collaboration diagram for Basic driver functions:

Functions

bool hcsr501_isDetecting (hcsr501_p instance)
 Tell if the sensor is detecting something. More...
 

Detailed Description

Commonly used functions. Here you you will find the functions you normally will need.

Function Documentation

◆ hcsr501_isDetecting()

bool hcsr501_isDetecting ( hcsr501_p  instance)

Tell if the sensor is detecting something.

Parameters
[in]instancedriver instance hcsr501_create.
Returns
detecting status
Return values
trueSensor detects something.
falsenothing is detected.