return the frequency (in Hz)
| 154 | |
| 155 | // return the frequency (in Hz) |
| 156 | uint32_t RFM69::getFrequency() { |
| 157 | return RF69_FSTEP * (((uint32_t) readReg(REG_FRFMSB) << 16) + ((uint16_t) readReg(REG_FRFMID) << 8) + readReg(REG_FRFLSB)); |
| 158 | } |
| 159 | |
| 160 | // set the frequency (in Hz) |
| 161 | void RFM69::setFrequency(uint32_t freqHz) { |
no outgoing calls
no test coverage detected