Skip to content

Commit

Permalink
Merge pull request #182 from damattl/patch-1
Browse files Browse the repository at this point in the history
Update class_c_otaa_ack.ino
  • Loading branch information
REGIOIGER authored Mar 19, 2024
2 parents e53d8ed + 21be9d7 commit 6ce5fe5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/class_c_otaa_ack/class_c_otaa_ack.ino
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@

// If your using PlatformIO you will need to set _CLASS_C_ using the -D flag in the build_flags options
#include <Arduino.h>
#include <lorawan.h>

Expand Down Expand Up @@ -57,6 +58,7 @@ void setup() {
return;
}

lora.setDeviceClass(CLASS_C);
// Set Data Rate
lora.setDataRate(SF8BW125);

Expand Down

0 comments on commit 6ce5fe5

Please sign in to comment.