1#ifndef RTS_PULSE_SOURCE_HPP
2#define RTS_PULSE_SOURCE_HPP
Assembles pulses received via RTSFrameBuilder::handlePulse, into a complete RTSFrame,...
Definition RTSFrameBuilder.hpp:32
Provides an interface for a source of RTS pulses, eg a GPIO or radio.
Definition RTSPulseSource.hpp:28
void enable()
Enable the pulse source.
Definition RTSPulseSource.cpp:8
void disable()
Disable the pulse source.
Definition RTSPulseSource.cpp:13
void attach(RTSFrameBuilder *frameBuilder)
Attach an observer.
Definition RTSPulseSource.cpp:23
void update()
Check for new pulse data.
Definition RTSPulseSource.cpp:18
Simulates a physical RTS receiver device, such as a shade or drapery motor.
Definition RTSReceiver.hpp:50
Provides an interface for a source of RTS pulses, eg a GPIO or radio.
Definition rts_pulse_source.h:35