TBeam V 1.1 with SX1262 and Radiolib library

Tix
Tue, 05 Dec 2023 19:49:35 +0000
Hardware

Hi all,

Today I tried to load the sketch given as an example for a Lorawan communication (in abp mode) .
link example.ino

For this first test, I just wanted to make sure that the compilation went smoothly: that’s why I kept the initial parameters (*)
I understand that this is still a beta … but since there’s an example I gave it a try!
Question: it doesn’t compile I suppose it’s me - again - who’s at fault !!!
(I use, under Linux Ubuntu 22.04, the Arduino IDE 2.2.1 and the Radiolib 6.3.0 library)
Below are the errors.
Thank you very much for your help !

(*) I only modified the connections of the module in order to adapt them to a TTGO TBeam V 1.1 with SX1262
NSS pin: 18
DIO0 pin: 26
DIO1 pin: 33
RESET pin: 23
SX1262 radio = new Module(18, 26, 23, 33);
//SX1262 radio = new Module(18, 26, 23);
First error when I ask to compile (3 tries) :
exit status 1
Try 1 : Compilation error: ‘NSS’ does not name a type; did you mean ‘SS’?
Try 2 : Compilation error: ‘SS’ does not name a type
Try 3 ; Compilation error: ‘CS’ does not name a type; did you mean ‘SS’?

5 posts - 3 participants