Sandeep Mistry Arduino LoRa Aplication Programming Interface
Silahkan baca di sini https://github.com/sandeepmistry/arduino-LoRa/blob/master/API.md Selamat beraktifitas, Tim Instruktur DTS FGA Kominfo LoRa API Include Library #include <LoRa.h> Setup Begin Initialize the library with the specified frequency. LoRa.begin(frequency); frequency - frequency in Hz ( 433E6 , 866E6 , 915E6 ) Returns 1 on success, 0 on failure. Set pins Override the default NSS , NRESET , and DIO0 pins used by the library. Must be called before LoRa.begin() . LoRa.setPins(ss, reset, dio0); ss - new slave select pin to use, defaults to 10 reset - new reset pin to use, defaults to 9 dio0 - new DIO0 pin to use, defaults to 2 . Must be interrupt capable via attachInterrupt(...) . This call is optional and only needs to be used if you need to change the default pins used. No MCU controlled reset pin To save further pins one could connect the reset pin of the MCU with reset pin of the radio thus resetting only during