Feather 32u4 with TinyLoRa for weeks-long balloon contest

//#define US902 ///< Used in USA, Canada and South America
#define EU863 ///< Used in Europe

Yeah, I have it like that.

Also, I don’t know how easily the Arduino IDE detects changes in libraries; you may want to do some full compilation.

I’m not sure what is full compilation. I just hit the compile button. I have the .h and .cpp files in the same folder as the sketch.

Beware that the range might be quite far then, and that you’re using a radio spectrum shared with others. Many others when transmitting from a high location.

Yeah, someone said that he got 450km range with LoRa from 31km height.

Finally, a hardcoded SF11 or SF12 is not allowed.

But what if SF10 won’t be enough? Is there a way to change the SF value automatically? The thing has to work because once in the air, I can not reupload the code.

But I assume it’s just an experiment, not something you’d be using on a regular basis?

Well, I’m launching the balloon just once, but that can stay in the air and try to send the data for up to a couple of weeks so it will be sending many packets.

All said, when using TinyLoRa then one’s own code needs to ensure one plays nice in the shared radio network.

I’m fine with it sending data every hour or even once in a day. The tracker is for a contest, winner is the one which lasts longest. I really don’t care about the data, we just need to know if the tracker is still alive.