Home Forums EasyTransfer Library Support Forum EasyTransfer and SoftwareSerial

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #3097

    Hi All,


    first thanks to Bill, cracking stuff this…but now I’m trying to use a virtual or software serial port on my Arduino and Teensy to communicate it’s not wanting to play.

    The normal code would be:


    ETin.begin(details(rxdata), &Serial);


    …and for the software Serial I’ve changed this to …


    ETin.begin(details(rxdata), &MySerial);


    ..and as you can imagine it failed, otherwise I wouldn’t be here 🙂

    The complier error is :


    temp_sender.ino: In function ‘void setup()’:

    temp_sender:38: error: no matching function for call to ‘EasyTransfer::begin(byte*, unsigned int, SoftwareSerial*)’

    C:\Arduino\libraries\EasyTransfer/EasyTransfer.h:46: note: candidates are: void EasyTransfer::begin(uint8_t*, uint8_t, HardwareSerial*)


    Now the error clearly states atat a hardware serial input is required, is there any easy way to change this to software serial ?


    Ta in advance!!


    Yes, use the Software easy transfer library instead. There should be an example sketch in the download for software easy transfer.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.