mayeranalytics / pySX127x

This is a python interface to the Semtech SX127x, HopeRF RFM9x, Microchip RN2483 long range, low power transceiver families.
GNU Affero General Public License v3.0
171 stars 116 forks source link

Made DIO3-5 callbacks optional (default arguments are None) #14

Closed dwhall closed 7 years ago

dwhall commented 7 years ago

The callbacks will only be registered if they are not None. There should be no effect on user code because LoRa.py already supplies arguments for dio3-5.

dwhall commented 7 years ago

I didn't test this and it has defects. I may resubmit later if it seems important.