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

Method setPin

Arduino/libraries/ST_Anything/EX_Alarm.cpp:183–189  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

181 }
182
183 void EX_Alarm::setPin(byte pin)
184 {
185 //m_nPin = pin;
186 digitalWrite(pin, m_bInvertLogic ? HIGH : LOW);
187 pinMode(pin, OUTPUT);
188 writeStateToPin();
189 }
190}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected