示例#1
0
// Set frequency, workout the channel from the frequency
void nRF905_setFrequency(nRF905_band_t band, uint32_t freq)
{
    nRF905_setChannel(band, NRF905_CALC_CHANNEL(freq, band));
}
示例#2
0
// Set frequency, workout the channel from the frequency
void nRF905_setFrequency(byte band, unsigned long freq)
{
	nRF905_setChannel(band, NRF905_CALC_CHANNEL(freq, band));
}