MCPcopy Create free account
hub / github.com/LowPowerLab/RFM69 / setCS

Method setCS

RFM69.cpp:643–647  ·  view source on GitHub ↗

set the slave select (CS) pin

Source from the content-addressed store, hash-verified

641
642// set the slave select (CS) pin
643void RFM69::setCS(uint8_t newSPISlaveSelect) {
644 _slaveSelectPin = newSPISlaveSelect;
645 digitalWrite(_slaveSelectPin, HIGH);
646 pinMode(_slaveSelectPin, OUTPUT);
647}
648
649// set the IRQ pin
650bool RFM69::setIrq(uint8_t newIRQPin) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected