MCPcopy Create free account
hub / github.com/SmingHub/Sming / enableTransmit

Method enableTransmit

Sming/Libraries/RCSwitch/RCSwitch.cpp:144–147  ·  view source on GitHub ↗

* Enable transmissions * * @param nTransmitterPin Arduino Pin to which the sender is connected to */

Source from the content-addressed store, hash-verified

142 * @param nTransmitterPin Arduino Pin to which the sender is connected to
143 */
144void RCSwitch::enableTransmit(int nTransmitterPin) {
145 this->nTransmitterPin = nTransmitterPin;
146 pinMode(this->nTransmitterPin, OUTPUT);
147}
148
149/**
150 * Disable transmissions

Callers 1

initFunction · 0.80

Calls 1

pinModeFunction · 0.50

Tested by

no test coverage detected