'Lora' not declared in scope error

When I compile this sketch I keep getting the error 'Lora' not declared in this scope.
The error is at line 144. I have looked at other Lora sketches that appear to have Lora methods in the Loop function and work. Can't figure out why mine doesn't.
Any help would be much appreciated. I have looked at other answers for "not in scope" errors but they haven't helped me.
Thanks
Mike

Lora_T_sender_26_Dec_2019.ino (2.59 KB)

Please post your code and the exact error message

mooksmd:
When I compile this sketch I keep getting the error 'Lora' not declared in this scope.

And that is the only error ?

You will clear the 'Lora' errors when you use the correct term, which is 'LoRa'

LoRa and Lora are not the same. You have both in your code. One of them is wrong as the compiler is telling you.

Steve

Couldn't be much more obvious, even for a Newbie :slight_smile:
thanks for pointing it out. Should be LoRa not Lora.
Thanks again.
Mike