добавлена бета проверка драйверов
This commit is contained in:
@@ -13,10 +13,15 @@ struct ActualPwm {
|
||||
class PwmGenerator {
|
||||
public:
|
||||
void begin();
|
||||
void configureActiveLight(bool lightOn) { activeLightOn_ = lightOn; }
|
||||
bool start(uint32_t frequencyHz, uint32_t pulseNs, ActualPwm &actual);
|
||||
// Hold the optical level selected as the active TX pulse.
|
||||
void active();
|
||||
// Hold actual optical light ON, independently of HH/HL/LH/LL.
|
||||
void lightOn();
|
||||
void stop();
|
||||
bool running() const { return running_; }
|
||||
private:
|
||||
bool running_ = false;
|
||||
bool activeLightOn_ = true;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user