For a Lora assay I am looking over the arduino lmic library furthermore I look over the pinout on RFM98 Lora Module:
But I cannot figure out how I will configure the library in order to use the MOSI and MISO pins (as far as I understand the recieved information will pass as serial in MOSI pin and I will send data in MISO pin) I mean the library provides this configuration:
lmic_pinmap lmic_pins = {
.nss = 6,
.rxtx = LMIC_UNUSED_PIN,
.rst = 5,
.dio = {2, 3, 4},
};
And I understand that .rxtx
may be mapped on arduino's pins for data io into LOraWan network (using LoRa Modulation) but which goes first and which goes second?
I guess that the configuration code will be:
.rxtx={^somepin^,^anotherpin^}