Here an example of constructor, you must pass the UART interface and (if you want, but It's reccomended) the AUX pin, M0 and M1.
I create a library to manage EBYTE E22 series of LoRa device, very powerfull, simple and cheap device. LoRa or Long Range wireless data telemetry is a technology pioneered by Semtech that operates at ...