Class FinChallengeHHDUCSequencer
Helper class that provides the bit pattern visualization sequence for a FinChallengeHHDUC.
public class FinChallengeHHDUCSequencer
- Inheritance
-
FinChallengeHHDUCSequencer
- Inherited Members
Constructors
FinChallengeHHDUCSequencer(FinChallengeHHDUC)
public FinChallengeHHDUCSequencer(FinChallengeHHDUC aChallengeHHDUC)
Parameters
aChallengeHHDUCFinChallengeHHDUC
Properties
ChallengeHHDUC
public FinChallengeHHDUC ChallengeHHDUC { get; }
Property Value
Methods
GetCurrentPattern()
Gets the current bit pattern to be displayed.
public BitArray GetCurrentPattern()
Returns
- BitArray
Five bits corresponding to the five blinking fields. The bit value
falseindicates a black field, the bit valuetrueindicates a white field. The first bit at position zero is the CLOCK signal. The next four bits are the DATA0 through DATA3 fields.
NextPattern()
Advances the sequencer state to the next pattern. If the end of the ChallengeHHDUC is reached, it starts again with the first pattern.
public void NextPattern()
Remarks
This method should be invoked approximately every 50 milliseonds in order to switch to the next bit pattern to be displayed.