Arduino: 1.8.12 (Windows 10), Board: "Arduino Due (Programming Port)"
C:\Users\chris\OneDrive\Dokumente\Arduino\libraries\ArduinoRS485\src\RS485.cpp: In member function 'virtual void RS485Class::begin(long unsigned int, uint16_t)':
C:\Users\chris\OneDrive\Dokumente\Arduino\libraries\ArduinoRS485\src\RS485.cpp:53:34: error: no matching function for call to 'HardwareSerial::begin(long unsigned int&, uint16_t&)'
_serial->begin(baudrate, config);
^
C:\Users\chris\OneDrive\Dokumente\Arduino\libraries\ArduinoRS485\src\RS485.cpp:53:34: note: candidate is:
In file included from C:\Users\chris\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.12\cores\arduino/Arduino.h:195:0,
from C:\Users\chris\OneDrive\Dokumente\Arduino\libraries\ArduinoRS485\src\RS485.h:23,
from C:\Users\chris\OneDrive\Dokumente\Arduino\libraries\ArduinoRS485\src\RS485.cpp:20:
C:\Users\chris\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.12\cores\arduino/HardwareSerial.h:29:18: note: virtual void HardwareSerial::begin(long unsigned int)
virtual void begin(unsigned long);
^
C:\Users\chris\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.12\cores\arduino/HardwareSerial.h:29:18: note: candidate expects 1 argument, 2 provided
C:\Users\chris\OneDrive\Dokumente\Arduino\libraries\ArduinoRS485\src\RS485.cpp: In member function 'void RS485Class::sendBreak(unsigned int)':
C:\Users\chris\OneDrive\Dokumente\Arduino\libraries\ArduinoRS485\src\RS485.cpp:149:36: error: no matching function for call to 'HardwareSerial::begin(long unsigned int&, uint16_t&)'
_serial->begin(_baudrate, _config);
^
C:\Users\chris\OneDrive\Dokumente\Arduino\libraries\ArduinoRS485\src\RS485.cpp:149:36: note: candidate is:
In file included from C:\Users\chris\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.12\cores\arduino/Arduino.h:195:0,
from C:\Users\chris\OneDrive\Dokumente\Arduino\libraries\ArduinoRS485\src\RS485.h:23,
from C:\Users\chris\OneDrive\Dokumente\Arduino\libraries\ArduinoRS485\src\RS485.cpp:20:
C:\Users\chris\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.12\cores\arduino/HardwareSerial.h:29:18: note: virtual void HardwareSerial::begin(long unsigned int)
virtual void begin(unsigned long);
^
C:\Users\chris\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.12\cores\arduino/HardwareSerial.h:29:18: note: candidate expects 1 argument, 2 provided
C:\Users\chris\OneDrive\Dokumente\Arduino\libraries\ArduinoRS485\src\RS485.cpp: In member function 'void RS485Class::sendBreakMicroseconds(unsigned int)':
C:\Users\chris\OneDrive\Dokumente\Arduino\libraries\ArduinoRS485\src\RS485.cpp:159:36: error: no matching function for call to 'HardwareSerial::begin(long unsigned int&, uint16_t&)'
_serial->begin(_baudrate, _config);
^
C:\Users\chris\OneDrive\Dokumente\Arduino\libraries\ArduinoRS485\src\RS485.cpp:159:36: note: candidate is:
In file included from C:\Users\chris\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.12\cores\arduino/Arduino.h:195:0,
from C:\Users\chris\OneDrive\Dokumente\Arduino\libraries\ArduinoRS485\src\RS485.h:23,
from C:\Users\chris\OneDrive\Dokumente\Arduino\libraries\ArduinoRS485\src\RS485.cpp:20:
C:\Users\chris\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.12\cores\arduino/HardwareSerial.h:29:18: note: virtual void HardwareSerial::begin(long unsigned int)
virtual void begin(unsigned long);
^
C:\Users\chris\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.12\cores\arduino/HardwareSerial.h:29:18: note: candidate expects 1 argument, 2 provided
exit status 1
Fehler beim Kompilieren für das Board Arduino Due (Programming Port).