QuadratureRotaryEncoder.OnPulse(Boolean, 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.
Modify the current value on receipt of a pulse from the rotary encoder.
protected virtual void OnPulse (bool blnUp, int milliSecondsSinceLastPulse);
abstract member OnPulse : bool * int -> unit
override this.OnPulse : bool * int -> unit
Protected Overridable Sub OnPulse (blnUp As Boolean, milliSecondsSinceLastPulse As Integer)
Parameters
- blnUp
- Boolean
When true then the value should be incremented otherwise it should be decremented.
- milliSecondsSinceLastPulse
- Int32
The number of miliseconds since the last pulse.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for