MCPcopy Create free account
hub / github.com/DanielOgorchock/ST_Anything / EX_Switch

Method EX_Switch

Arduino/libraries/ST_Anything/EX_Switch.cpp:43–49  ·  view source on GitHub ↗

public constructor

Source from the content-addressed store, hash-verified

41//public
42 //constructor
43 EX_Switch::EX_Switch(const __FlashStringHelper *name, byte pin, bool startingState, bool invertLogic) :
44 Executor(name),
45 m_bCurrentState(startingState),
46 m_bInvertLogic(invertLogic)
47 {
48 setPin(pin);
49 }
50
51 //destructor
52 EX_Switch::~EX_Switch()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected