LoRa + Arduino Pro Mini, there is a problem

On the SX1278 chip (410-525 MHz) there is a pair of radio modules LoRa Ra-01.

I connect one of them to Arduino UNO and load the module sketch taken from LoRa examples into the module. The second connected to the Arduino Pro Mini and uploaded a sketch of the receiver from the examples. Data from one node was successfully received by the second.

The only drawback is that on the monitor of the Arduino IDE compiler, messages with the Arduino Pro Mini are read at a speed two times lower than that specified in the sketch, for example, 4800 instead of 9600. The frequency has decreased after installing the UNO driver or the Lora.h library. Prior to that, there were no problems with the speed of the Arduino Pro Mini and ESP8266 modules.

Now I upload a sketch of the transmitter in the Arduino Pro Mini. Transmitter is not working. Instead, the LED on the USB-to-Serial adapter flashes at the frequency specified in the sketch, and the Arduino Pro Mini module is connected and disconnected at the same device frequency in the computer's device manager. There are no signs on the compiler monitor.

How to solve a problem? Thanks in advance for your help.
Sorry, bad computer translation.

Transmitter:

#include <SPI.h>
#include <LoRa.h>

int counter = 0;

void setup() {
  Serial.begin(9600);
  while (!Serial);

  Serial.println("LoRa Sender");

  if (!LoRa.begin(433E6)) {
    Serial.println("Starting LoRa failed!");
    while (1);
  }

  LoRa.setTxPower(20);
  
}

void loop() {
  Serial.print("Sending packet: ");
  Serial.println(counter);

  // send packet
  LoRa.beginPacket();
  LoRa.print("hello ");
  LoRa.print(counter);
  LoRa.endPacket();

  counter++;

  delay(5000);
}

Receiver:

#include <SPI.h>
#include <LoRa.h>

void setup() {
  Serial.begin(9600);
  while (!Serial);

  Serial.println("LoRa Receiver");

  if (!LoRa.begin(433E6)) {
    Serial.println("Starting LoRa failed!");
    while (1);
  }
}

void loop() {
  // try to parse packet
  int packetSize = LoRa.parsePacket();
  if (packetSize) {
    // received a packet
    Serial.print("Received packet '");

    // read packet
    while (LoRa.available()) {
      Serial.print((char)LoRa.read());
    }

    // print RSSI of packet
    Serial.print("' with RSSI ");
    Serial.println(LoRa.packetRssi());
  }
}

Do you have an 8 MHz Pro Mini? The speed issue could be caused by compiling for a 16 MHz board when your microcontroller is actually running at 8 MHz.

Cadis:
The frequency has decreased after installing the UNO driver

What do you mean by "installing the Uno driver"?

Arduino Pro Mini is definitely 16 MHz. This has been confirmed earlier in other projects.

I recently purchased an Arduino UNO. When I first turned on the computer, I did not see (did not recognize) the Arduino UNO module. I installed the driver from the Arduino IDE editor and saw the Arduino UNO module.

I have some experience. Look please here or here.

Cadis:
the Arduino Pro Mini module is connected and disconnected at the same device frequency in the computer's device manager.

Does this happen even if you have nothing at all connected to the Pro Mini?

The only drawback is that on the monitor of the Arduino IDE compiler, messages with the Arduino Pro Mini are read at a speed two times lower than that specified in the sketch, for example, 4800 instead of 9600.

As suggested, this is caused by using an 8 MHz Arduino board but specifying 16 MHz in the IDE.

Triple check the board clock fuse setting and crystal, or fix it by specifying the appropriate 8 MHz board in the IDE.

I thank everyone who responded. Indeed, in addition to the board, you must specify the type of processor. Successes!

jremington:
As suggested, this is caused by using an 8 MHz Arduino board but specifying 16 MHz in the IDE.

Triple check the board clock fuse setting and crystal, or fix it by specifying the appropriate 8 MHz board in the IDE.

Thank! You helped me.