Skip to content

Sample Code In Description #19

@snoop911

Description

@snoop911

Shouldn't the sample code,
ACAN2517FD can (MCP2517_CS, SPI, MCP2517_INT);
instead instantiate the class:
ACAN2517 can (MCP2517_CS, SPI, MCP2517_INT);

This library seems to be for Classic can (non-FD), but using the Microchip 2517FD device?
Also compiling the sample code generates the error: "ACAN2517RequestedMode' has not been declared"

The above might be just an issue on my end, I'm trying to port the code to a non-arduino processor. Perhaps I should try converting to C?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions