Site icon Renzo Mischianti

Can’t use the NeoSWSerial library

Hi I'm a newbie and I need help. I cannot use the library https://github.com/SlashDevin/NeoSWSerial instead of SoftwareSerial and am getting the error. warning: invalid conversion from 'NeoSWSerial*' to 'byte {aka unsigned char}' [-fpermissive]  Can you help me a little? My code: #include <NeoSWSerial.h> // Arduino pins used for the LoRa RF-module E32-433T20DT #define PIN_RX 10 #define PIN_TX 11 #define PIN_M0 A1 #define PIN_M1 A2 #define PIN_AUX 12 NeoSWSerial loraSerial(PIN_RX, PIN_TX); // RX, TX LoRa_E32 e32ttl(&loraSerial, PIN_AUX, PIN_M0, PIN_M1);
Exit mobile version