FrequencySensor.EnableFrequencyReporting(Int32, FrequencyMode, Int32) Method
Definition
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.
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