![]() |
RUI3 (RAK Unified Interface 3) - RAK4631
|
Public Member Functions | |
long | get () |
bool | set (int value) |
long get | ( | ) |
void setup() { Serial.begin(115200); } void loop() { Serial.printf("The frequency of received window 2 is %d\r\n", api.lorawan.rx2fq.get()); delay(1000); }
bool set | ( | int | value | ) |
value | the frequency of the received window 2 |
TRUE | for setting frequency success |
FALSE | for setting frequency failure |
void setup() { Serial.begin(115200); Serial.printf("Set the frequency on RX window 2 %s\r\n", api.lorawan.rx2fq.set(869535000) ? "Success" : "Fail"); } void loop() { Serial.printf("The frequency on RX window 2 is %d\r\n", api.lorawan.rx2fq.get()); delay(1000); }