Arduino-EasyTransfer icon indicating copy to clipboard operation
Arduino-EasyTransfer copied to clipboard

Examples of EasyTransfer wouldn't work for Arduino Leonardo

Open X-Y opened this issue 12 years ago • 1 comments

As Serial1 is the hardware serial in Leonardo, while in examples Serial is used, it generates an error:

error: no matching function for call to 'EasyTransfer::begin(byte_, unsigned int, Serial__)' candidates are: void EasyTransfer::begin(uint8_t_, uint8_t, HardwareSerial_)

There can be a line of comment instructing people to switch to Serial1 if they're using Leonardo

X-Y avatar Mar 17 '13 11:03 X-Y

It would be better if the library were extended to support the USB serial port on the Leonardo... it is in fact a hardware serial port after all it just so happens that it is directly connected to the USB port rather than being connected to a serial to usb chip etc...

cb88 avatar May 14 '15 18:05 cb88