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

Method setSwitchPin

Arduino/libraries/ST_Anything/EX_Switch_Dim.cpp:108–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106 }
107
108 void EX_Switch_Dim::setSwitchPin(byte pin)
109 {
110 m_nPinSwitch = pin;
111 pinMode(m_nPinSwitch, OUTPUT);
112 writeStateToPin();
113 }
114
115 void EX_Switch_Dim::setPWMPin(byte pin)
116 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected