Skip to content

Commit

Permalink
Merge pull request #68 from BeelanMX/minorfix
Browse files Browse the repository at this point in the history
minor fixes
  • Loading branch information
wero1414 authored Jan 4, 2021
2 parents 6c8a23c + f4a4b12 commit 8e009d4
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 83 deletions.
File renamed without changes.
75 changes: 0 additions & 75 deletions examples/class-C-ABP/class_c_ABP/class_c_ABP.ino

This file was deleted.

4 changes: 2 additions & 2 deletions examples/send-class-A-ABP/send-class-A-ABP.ino
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ const sRFM_pins RFM_pins = {

void setup() {
// Setup loraid access
Serial.begin(115200);
delay(2000);
Serial.begin(9600);
while(!Serial);
if(!lora.init()){
Serial.println("RFM95 not detected");
delay(5000);
Expand Down
4 changes: 2 additions & 2 deletions examples/send-class-A-OTAA/send-class-A-OTAA.ino
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ const sRFM_pins RFM_pins = {

void setup() {
// Setup loraid access
Serial.begin(115200);
delay(2000);
Serial.begin(9600);
while(!Serial);
if(!lora.init()){
Serial.println("RFM95 not detected");
delay(5000);
Expand Down
8 changes: 4 additions & 4 deletions src/arduino-rfm/Config.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
#define MAX_UPLINK_PAYLOAD_SIZE 220
#define MAX_DOWNLINK_PAYLOAD_SIZE 220

// LoRaWAN freq band
// #define AS_923
//LoRaWAN freq band
//#define AS_923
//#define EU_868
#define US_915 1
//#define AU_915 1
#define US_915
//#define AU_915

#ifdef US_915
//Select the subband youre working on
Expand Down

0 comments on commit 8e009d4

Please sign in to comment.