out_pwm.h
Go to the documentation of this file.
#pragma once
#include "options.h"
#ifndef PWM_DISABLE
#include <abstractout.h>
#include <item.h>
#include "colorchannel.h"
class out_pwm : public colorChannel {
public:
out_pwm(Item * _item):colorChannel(_item){};
int Setup() override;
int Poll(short cause) override;
int Stop() override;
int Status() override;
int getChanType() override;
//int Ctrl(itemCmd cmd, char* subItem=NULL) override;
int PixelCtrl(itemCmd cmd, char* subItem=NULL, bool show=true ) override;
protected:
short numChannels;
};
#endif
out_pwm
Definition: out_pwm.h:10
out_pwm::Stop
int Stop() override
Definition: out_pwm.cpp:62
itemCmd
Definition: itemCmd.h:153
out_pwm::Poll
int Poll(short cause) override
Definition: out_pwm.cpp:89
out_pwm::getChanType
int getChanType() override
Definition: out_pwm.cpp:94
out_pwm::Setup
int Setup() override
Remove?? Now getChanType used instead.
Definition: out_pwm.cpp:20
out_pwm::Status
int Status() override
Definition: out_pwm.cpp:82
out_pwm::PixelCtrl
int PixelCtrl(itemCmd cmd, char *subItem=NULL, bool show=true) override
Definition: out_pwm.cpp:121
out_pwm::out_pwm
out_pwm(Item *_item)
Definition: out_pwm.h:13
options.h
colorChannel
Definition: colorchannel.h:9
colorchannel.h
Item
Definition: item.h:104
out_pwm::numChannels
short numChannels
Definition: out_pwm.h:24
abstractout.h
item.h