This increases the size of the compiled sketch by 160 bytes, but that seems like a reasonable price to pay for runtime configuration of the region. The previous method, #define-ing a frequency in the sketch, has no effect because that same #define is not present when the library is compiled.
This option is my preferred option to fix this, in contrast with the PR just sent.
This option maintains compatibility with all code that currently works by keeping the default as US902.
This increases the size of the compiled sketch by 160 bytes, but that seems like a reasonable price to pay for runtime configuration of the region. The previous method, #define-ing a frequency in the sketch, has no effect because that same #define is not present when the library is compiled.
This option is my preferred option to fix this, in contrast with the PR just sent.
This option maintains compatibility with all code that currently works by keeping the default as US902.