Can’t use the NeoSWSerial library

Viewing 1 reply thread
  • Author
    Posts
    • #6012
      ddv_adm
      Participant

        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);

      • #6127
        Renzo Mischianti
        Keymaster

          Hi ddv_adm,

          no sorry, the support for that library is not implemented, I don’t use original Stream because I need more method to put on work the device.

          When I’m more free I take a look to the integration.

          Bye Renzo

      Viewing 1 reply thread
      • You must be logged in to reply to this topic.
      Exit mobile version