This should set the frequency:
if (!LoRa.begin(868E6)) {
Try disconnecting the SD card module, and removing all the SD code. Many SD modules do not share the SPI bus correctly, and that could prevent the transmitter from functioning properly.
You would be better off using identical libraries for the LoRa radios on the two platforms. All modulation parameters must be set identically for successful radio communications.