LightHub  v4.0.0
Smarthome controller firmware
out_SPILed Class Reference

#include <out_spiled.h>

Inheritance diagram for out_SPILed:
colorChannel abstractOut abstractCh

Public Member Functions

 out_SPILed (Item *_item)
 
int Setup () override
 Remove?? Now getChanType used instead. More...
 
int Poll (short cause) override
 
int Stop () override
 
int Status () override
 
int getChanType () override
 
int PixelCtrl (itemCmd cmd, char *subItem=NULL, bool show=true) override
 
- Public Member Functions inherited from colorChannel
 colorChannel (Item *_item)
 
int Ctrl (itemCmd cmd, char *subItem=NULL, bool toExecute=true) override
 
int getDefaultStorageType () override
 
short getChannelAddr (short n=0)
 
- Public Member Functions inherited from abstractOut
 abstractOut (Item *_item)
 
virtual int isActive ()
 
virtual itemCmd getDefaultOnVal ()
 
- Public Member Functions inherited from abstractCh
 abstractCh ()
 
virtual ~abstractCh ()
 
virtual int Anounce ()
 

Public Attributes

int numLeds
 
int8_t pin
 
int ledsType
 

Protected Member Functions

void getConfig ()
 
- Protected Member Functions inherited from abstractCh
virtual int publishTopic (const char *topic, long value, const char *subtopic=NULL)
 
virtual int publishTopic (const char *topic, float value, const char *subtopic=NULL)
 
virtual int publishTopic (const char *topic, const char *value, const char *subtopic=NULL)
 

Additional Inherited Members

- Protected Attributes inherited from colorChannel
short iaddr
 
short numArgs
 
- Protected Attributes inherited from abstractOut
Itemitem
 

Constructor & Destructor Documentation

◆ out_SPILed()

out_SPILed::out_SPILed ( Item _item)
inline

Member Function Documentation

◆ getChanType()

int out_SPILed::getChanType ( )
overridevirtual

Reimplemented from abstractOut.

◆ getConfig()

void out_SPILed::getConfig ( )
protected

◆ PixelCtrl()

int out_SPILed::PixelCtrl ( itemCmd  cmd,
char *  subItem = NULL,
bool  show = true 
)
overridevirtual

Implements colorChannel.

◆ Poll()

int out_SPILed::Poll ( short  cause)
overridevirtual

Implements abstractCh.

◆ Setup()

int out_SPILed::Setup ( )
overridevirtual

Remove?? Now getChanType used instead.

Reimplemented from abstractOut.

◆ Status()

int out_SPILed::Status ( )
overridevirtual

Reimplemented from abstractCh.

◆ Stop()

int out_SPILed::Stop ( )
overridevirtual

Reimplemented from abstractCh.

Member Data Documentation

◆ ledsType

int out_SPILed::ledsType

◆ numLeds

int out_SPILed::numLeds

◆ pin

int8_t out_SPILed::pin

The documentation for this class was generated from the following files: