#include <encoder/ServoDecoder.h>
◆ ServoDecoder()
| ServoDecoder::ServoDecoder |
( |
void(*)(int pin, uint16_t pwm) |
changeNotify, |
|
|
byte |
pin |
|
) |
| |
|
inline |
◆ animate()
| virtual void ServoDecoder::animate |
( |
| ) |
|
|
inlineoverridevirtual |
Subclasses must implement this function to run through a single frame of animation/activity.
Subclasses should not call delay() or otherwise block.
Implements AnimatedEvent.
◆ becameActive()
| bool ServoDecoder::becameActive |
( |
| ) |
|
|
inline |
◆ becameInactive()
| bool ServoDecoder::becameInactive |
( |
| ) |
|
|
inline |
◆ begin()
| bool ServoDecoder::begin |
( |
bool |
measurePulseHigh = true | ) |
|
|
inline |
◆ end()
| void ServoDecoder::end |
( |
| ) |
|
|
inline |
◆ getAge()
| unsigned long ServoDecoder::getAge |
( |
| ) |
|
|
inline |
◆ getValue()
| unsigned int ServoDecoder::getValue |
( |
| ) |
|
|
inline |
◆ hasChanged()
| bool ServoDecoder::hasChanged |
( |
| ) |
|
|
inline |
◆ isActive()
| bool ServoDecoder::isActive |
( |
| ) |
|
|
inline |
◆ setup()
| virtual void ServoDecoder::setup |
( |
| ) |
|
|
inlineoverridevirtual |
Subclasses must implement this function to perform any necessary setup that cannot happen in the constructor.
Implements SetupEvent.
The documentation for this class was generated from the following file: