Open snoop911 opened 1 year ago
The ACAN2517 is a CAN 2.0B library for MCP2517FD / MCP2518FD. Use the ACAN2517FD library for a CAN FD library.
What is the the sample code whose compilation generates the error: "ACAN2517RequestedMode' has not been declared" ?
For porting to a non-arduino processor, if you do not use a C++ compiler The library is written in C++, it is possible to rewrite it in C.
Pierre
Le 17 nov. 2022 à 02:51, snoop911 @.***> a écrit :
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?
— Reply to this email directly, view it on GitHub https://github.com/pierremolinaro/acan2517/issues/19, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEWKZVHITHFY77XCIJYL2MDWIWFR3ANCNFSM6AAAAAASC3MUME. You are receiving this because you are subscribed to this thread.
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?