#include <encoder/PWMDecoder.h>
◆ PWMDecoder() [1/2]
PWMDecoder::PWMDecoder |
( |
void(*)(int pin, uint16_t pwm) |
changeNotify, |
|
|
int |
pin1, |
|
|
int |
pin2 = -1 , |
|
|
int |
pin3 = -1 , |
|
|
int |
pin4 = -1 |
|
) |
| |
|
inline |
◆ PWMDecoder() [2/2]
PWMDecoder::PWMDecoder |
( |
int |
pin1, |
|
|
int |
pin2 = -1 , |
|
|
int |
pin3 = -1 , |
|
|
int |
pin4 = -1 |
|
) |
| |
|
inline |
◆ animate()
virtual void PWMDecoder::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 PWMDecoder::becameActive |
( |
unsigned |
i = 0 | ) |
|
|
inline |
◆ becameInactive()
bool PWMDecoder::becameInactive |
( |
unsigned |
i = 0 | ) |
|
|
inline |
◆ begin()
void PWMDecoder::begin |
( |
| ) |
|
|
inline |
◆ channel()
uint16_t PWMDecoder::channel |
( |
unsigned |
i = 0 | ) |
const |
|
inline |
◆ end()
◆ getAge()
unsigned long PWMDecoder::getAge |
( |
unsigned |
i = 0 | ) |
|
|
inline |
◆ getValue()
uint16_t PWMDecoder::getValue |
( |
unsigned |
i = 0 | ) |
const |
|
inline |
◆ hasChanged()
bool PWMDecoder::hasChanged |
( |
unsigned |
i = 0 | ) |
|
|
inline |
◆ isActive()
bool PWMDecoder::isActive |
( |
unsigned |
i = 0 | ) |
|
|
inline |
◆ numChannels()
unsigned PWMDecoder::numChannels |
( |
| ) |
const |
|
inline |
◆ fStarted
bool PWMDecoder::fStarted = false |
The documentation for this class was generated from the following file: