EasyManuals Logo

Emakefun RF-NANO User Manual

Emakefun RF-NANO
34 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #33 background imageLoading...
Page #33 background image
Copy right © 2018 Shenzhen Emakefun Technology co., Ltd.
33
Receiving data program code 2
Code pathRF-NANO Demo Program\One send to multiple receive communication\
Receive2\Receive2.ino
Source code
Data received by receiving device 2:
Figure 3-3-3
Chapter 4 Sets the transmitting power and data transmission rate
4.1 Set the transmitted power of RF-NANO
The transmitted power of RF-NANO has four levels: -18dBm, -12dBm, -6dBm and 0dBm.The greater the
transmitting power, the farther the transmission distance;The transmitted power can be set in the software.
Open the rf-nano experimental routine program. In mirf. CPP, there is a function to set the transmitted
power :SetOutputRF_PWR(uint8_t val), which can set different transmitted power
void Nrf24l::SetOutputRF_PWR(uint8_t val) //Set tx power :
0=-18dBm,1=-12dBm,2=-6dBm,3=0dBm,
{
configRegister(RF_SETUP, (val<< RF_PWR) );
}
void Nrf24l::config()
// Sets the important registers in the MiRF module and powers the module
// in receiving mode
// NB: channel and payload must be set now.

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Emakefun RF-NANO and is the answer not in the manual?

Emakefun RF-NANO Specifications

General IconGeneral
BrandEmakefun
ModelRF-NANO
CategoryControl Unit
LanguageEnglish