Arduino Pro Mini with inair9b Lora Tx Rx problem

Hi!
I have an arduino pro mini with an inair9b board. Im currently using the library provided by sandeep.

I have 1 arduino set to transmit every 2 seconds and the other to receive only. I can't seem to receive any packets. Im not sure what went wrong. I tried the example codes and that works.

Any help is greatly appreciated! Thank you very much.

I have attached my codes for Tx and Rx.

inAir9B-Rx.zip (1.54 KB)

inAir9B-Tx.zip (1.65 KB)

Read the post 'How to use this forum - please read' for details on how to post code so people can read it directly without the risk of downloading a zip file.

oops. my bad.

I have resolved my issue. I declared the variable as an int instead of long. that is why it wasnt working as expected.