|
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
@ SW_PULSETIMER_uS
Definition: serialWombatPulseTimer.h:11
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
A Class which uses a Serial Wombat pin to measure the length of a pulse high and low time.
Definition: serialWombatPulseTimer.h:52
SerialWombatPulseTimerUnits
Definition: serialWombatPulseTimer.h:9
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
Definition: SerialWombat.h:72
void refreshHighCountsLowCounts()
Retreive the High and Low counts from the Serial Wombat in a single transaction.
Definition: serialWombatPulseTimer.cpp:34
@ SW_PULSETIMER_mS
Definition: serialWombatPulseTimer.h:12
uint16_t Pulses
Count of last retreived pulses.
Definition: serialWombatPulseTimer.h:120