Home Forums EasyTransfer Library Support Forum EasyTransfer and SoftwareSerial

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

    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:

    [code]

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

    [/code]

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

    [code]

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

    [/code]

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

    The complier error is :

    [quote]

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

    [/quote]

    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!!

    #3104
    Bill
    Member

    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.