diff --git a/examples/class_c_otaa_ack/class_c_otaa_ack.ino b/examples/class_c_otaa_ack/class_c_otaa_ack.ino index 2f2a3b1..4361ebc 100644 --- a/examples/class_c_otaa_ack/class_c_otaa_ack.ino +++ b/examples/class_c_otaa_ack/class_c_otaa_ack.ino @@ -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 #include @@ -57,6 +58,7 @@ void setup() { return; } + lora.setDeviceClass(CLASS_C); // Set Data Rate lora.setDataRate(SF8BW125);