Hcsr501 Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
PIR Sensor HC-SR501
C#
public class Hcsr501 : IDisposable
C#
[System.Device.Model.Interface("PIR Sensor HC-SR501")]
public class Hcsr501 : IDisposable
type Hcsr501 = class
interface IDisposable
[<System.Device.Model.Interface("PIR Sensor HC-SR501")>]
type Hcsr501 = class
interface IDisposable
Public Class Hcsr501
Implements IDisposable
- Inheritance
-
Hcsr501
- Attributes
- Implements
Hcsr501(Int32, Pin |
Creates a new instance of the HC-SCR501. |
Hcsr501(Int32, Pin |
Is |
If a motion is detected, return true. |
Dispose() |
Cleanup |
Hcsr501Value |
Triggering when HC-SR501 value changes |
Produkt | Versiounen |
---|---|
.NET IoT Libraries | 1.0.0, 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.5.0, 2.0.0, 2.1.0, 2.2.0 |