66 sw0.digitalWrite(pin0, HIGH);
72 sw1.digitalWrite(pin1, HIGH);
79 sw0.digitalWrite(pin0, LOW);
85 sw1.digitalWrite(pin1, LOW);
210 sw0.pinMode(pin0, OUTPUT,
false,
openDrain);
211 sw1.pinMode(pin1, OUTPUT,
false,
openDrain);
232 bool pin0State =
true;
233 bool pin1State =
true;
@ SIMQE_2ND_TRANSITION_1ST_PIN_COMPLETED
@ SIMQE_2ND_TRANSITION_COMPLETED
@ SIMQE_2ND_TRANSITION_2ND_PIN_COMPLETED
@ SIMQE_1ST_TRANSITION_1ST_PIN_COMPLETED
@ SIMQE_1ST_TRANSITION_2ND_PIN_COMPLETED
Class for a Serial Wombat chip. Each Serial Wombat chip on a project should have its own instance.
uint32_t delayAfterSecondPinSecondTransition_mS
SerialWombatSimulatedQuadEnc(SerialWombatChip &serialWombat0, SerialWombatChip &serialWombat1, uint8_t _pin0, uint8_t _pin1, bool openDrain, bool doubleTransition)
uint32_t delayAfterSecondPinFirstTransition_mS
uint32_t lastTransitionTime_millis
uint32_t delayAfterFirstPinFirstTransition_mS
uint32_t delayAfterFirstPinSecondTransition_mS