Arduino-EasyTransfer
Arduino-EasyTransfer copied to clipboard
Examples of EasyTransfer wouldn't work for Arduino Leonardo
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
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...