sandeepmistry / arduino-LoRa

An Arduino library for sending and receiving data using LoRa radios.
MIT License
1.6k stars 621 forks source link

How to set exact frequency #647

Open TomisRobotics opened 1 year ago

TomisRobotics commented 1 year ago

Hello guys, i want to use this library alongside with an sx1278 module and was wondering how can i set an exact frequency(such as 433.7 mhz)? Any help would be appreciated. I only seen this function being used LoRa.begin(433E6) and dont understand what the E6 is for

furqon2710 commented 1 year ago

as far as i know E6 is stands for x 10^6 . 433#6 equals to 433 x 10^6 hz 433E6 means that you run on 433 Mhz

Kongduino commented 1 year ago
  if (!LoRa.begin(433700000)) {
    Serial.println("Starting LoRa failed!");
    while (1);
  }