Language
Edit

FrequencySensor.EnableFrequencyReporting(Int32, FrequencyMode, Int32) Method

Definition

Enable frequency reporting on the given pin.

public void EnableFrequencyReporting(int pinNumber, Iot.Device.Arduino.FrequencyMode mode, int reportDelay);
member this.EnableFrequencyReporting : int * Iot.Device.Arduino.FrequencyMode * int -> unit
Public Sub EnableFrequencyReporting (pinNumber As Integer, mode As FrequencyMode, reportDelay As Integer)

Parameters

pinNumber
Int32

The pin number

mode
FrequencyMode

The mode on which to increase the tick count. Typically rising or falling edge.

reportDelay
Int32

How often the value should update, in milliseconds. Must be positive and smaller than 2^14

Applies to