Library does not support SAMD21 M0 boards #3
Labels
topic: code
Related to content of the project itself
type: imperfection
Perceived defect in any part of project
Arduino: 1.8.12 (Linux), Board: "Arduino M0"
In file included from /root/Arduino/libraries/ArduinoRS485/src/RS485.cpp:20:0:
/root/Arduino/libraries/ArduinoRS485/src/RS485.h:35:30: error: 'A6' was not declared in this scope
#define RS845_DEFAULT_DE_PIN A6
^
/root/Arduino/libraries/ArduinoRS485/src/RS485.cpp:169:62: note: in expansion of macro 'RS845_DEFAULT_DE_PIN'
RS485Class RS485(SERIAL_PORT_HARDWARE, RS485_DEFAULT_TX_PIN, RS845_DEFAULT_DE_PIN, RS845_DEFAULT_RE_PIN);
^~~~~~~~~~~~~~~~~~~~
/root/Arduino/libraries/ArduinoRS485/src/RS485.h:35:30: note: suggested alternative: 'A5'
#define RS845_DEFAULT_DE_PIN A6
^
/root/Arduino/libraries/ArduinoRS485/src/RS485.cpp:169:62: note: in expansion of macro 'RS845_DEFAULT_DE_PIN'
RS485Class RS485(SERIAL_PORT_HARDWARE, RS485_DEFAULT_TX_PIN, RS845_DEFAULT_DE_PIN, RS845_DEFAULT_RE_PIN);
^~~~~~~~~~~~~~~~~~~~
The text was updated successfully, but these errors were encountered: