
#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():numChannels(0){};
    int Setup() override;
    int Stop() override;

    
    int getChanType() override;
    //int Ctrl(itemCmd cmd, char* subItem=NULL) override;
    int PixelCtrl(itemCmd cmd, char* subItem=NULL, bool show=true, bool authorized = false ) override; 

//protected:
//    short numChannels;
};
#endif
