Skip to content

Library does not support SAMD21 M0 boards #3

Open
@robomike

Description

@robomike

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);
^~~~~~~~~~~~~~~~~~~~

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic: codeRelated to content of the project itselftype: imperfectionPerceived defect in any part of project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions