B4R Library rMCP_CAN library

Attachments

  • rMCP_CAN.zip
    2.7 KB · Views: 416
  • TestMCPCAN.zip
    1.2 KB · Views: 390
Last edited:

thali

Member
Licensed User
Longtime User
When I run the TestMCPCAN I get this compilation error:

b4r_main.cpp:29:79: error: invalid conversion from 'void (*)(B4R::Array*, Int, bool)' {aka 'void (*)(B4R::Array*, short int, bool)'} to 'B4R::SubByteArrayInt' {aka 'void (*)(B4R::Array*, int*, bool*)'} [-fpermissive]
.........
initializing argument 1 of 'bool B4R::B4RMCP_CAN::Initialize(B4R::SubByteArrayInt, int, byte)'
bool Initialize(SubByteArrayInt DataSub, int SPI_CS_PIN, byte CanSpeed);
~~~~~~~~~~~~~~~~^~~~~~~
exit status 1

What is wrong?
 
Top