Skip to content

How to instantiate lib for using two MCP2515 controllers? #6

@igittigitt

Description

@igittigitt

I'd like use two MCP2515 controllers for filtering/gateway a midspeed CAN-Bus (125kbs). All your examples, and even the documentation did not mention this setup. All the examples did not explicit instantiate from a class, they just simple use "CAN.".

So i tried to do: CAN TOBUS(9); but this gave me an error while compiling.
Also CANClass TOBUS(9); did not work.
Even CAN_MCP2515 TOBUS(9); failed.

What do i do wrong? Could you please provide an example for it?

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions