Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to run at 1Mb/s? #10

Open
JunctionRunner opened this issue May 4, 2019 · 0 comments
Open

How to run at 1Mb/s? #10

JunctionRunner opened this issue May 4, 2019 · 0 comments

Comments

@JunctionRunner
Copy link

I'm wondering how we can add the 1000kbps setting to the library? I edited Canbus.h to add CANSPEED_1000, however it does not seem to work trying to obtain the rpm from a vehicle. I'm not sure if the numbers 1 3 and 7 are just there to set the "priority" like in networking to set connection priority or if it means something else?

I only have one set of the chips so can't test with a second set to tell if it is in fact initializing the controller at the higher speed or not.

#define CANSPEED_125 7 // CAN speed at 125 kbps
#define CANSPEED_250 3 // CAN speed at 250 kbps
#define CANSPEED_500 1 // CAN speed at 500 kbps
#define CANSPEED_1000 0 // CAN speed at 1000 kbps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant