Struct TwoBitGrayCode
Represents a 2 bit version of GrayCode (https://en.wikipedia.org/wiki/Gray_code) used to encode the current state of a rotary encoder.
Assembly: Meadow.Foundation.dll
View Source
Declaration
public struct TwoBitGrayCode
Fields
APhase
A phase of graycode
View Source
Declaration
public bool APhase
BPhase
B phase of graycode
View Source
Declaration
public bool BPhase