 |
Serial Wombat Arduino Library
|
uint16_t readPulses()
Retreives the number of pulses.
Definition: SerialWombatPulseTimer.cpp:65
SerialWombatPulseTimer(SerialWombat &serialWombat)
Class constructor for SerialWombatPulseTimer.
Definition: SerialWombatPulseTimer.cpp:3
uint16_t HighCounts
Count in selected units of last retreived high pulse.
Definition: SerialWombatPulseTimer.h:111
bool MeasurementOverflowOccurred
Definition: SerialWombatPulseTimer.h:121
void begin(uint8_t pin)
Simple initialization.
Definition: SerialWombatPulseTimer.cpp:9
uint16_t readLowCounts()
Retreives the most recent Counts in the configured units for the most recent low pulse.
Definition: SerialWombatPulseTimer.cpp:59
uint16_t readHighCounts()
Retreives the most recent Counts in the configured units for the most recent high pulse.
Definition: SerialWombatPulseTimer.cpp:53
SerialWombatPulseTimerUnits
Definition: SerialWombatPulseTimer.h:9
A Class which uses a Serial Wombat pin to measure the length of a pulse high and low time.
Definition: SerialWombatPulseTimer.h:52
@ SW_PULSETIMER_uS
Definition: SerialWombatPulseTimer.h:11
uint16_t LowCounts
Count in selected units of last retreived low pulse.
Definition: SerialWombatPulseTimer.h:115
void refreshHighCountsPulses()
Retreive the High counts and number of pulses Serial Wombat in a single transaction.
Definition: SerialWombatPulseTimer.cpp:43
void refresh()
Retreive the latest values for HighCounts, LowCounts, Pulses, and MeasurementOverflowOccured.
Definition: SerialWombatPulseTimer.cpp:22
@ SW_PULSETIMER_mS
Definition: SerialWombatPulseTimer.h:12
Definition: SerialWombat.h:72
void refreshHighCountsLowCounts()
Retreive the High and Low counts from the Serial Wombat in a single transaction.
Definition: SerialWombatPulseTimer.cpp:34
uint16_t Pulses
Count of last retreived pulses.
Definition: SerialWombatPulseTimer.h:120