Timur Iskhodzhanov

Results 52 comments of Timur Iskhodzhanov

Also in these two places the `0x03`s next to `>> 18`s should probably be replaced with `0x07`: https://github.com/sandeepmistry/arduino-CAN/blob/bcdd7ac0de63cab438b6bf2c7a3918d67de873ef/src/MCP2515.cpp#L333 https://github.com/sandeepmistry/arduino-CAN/blob/bcdd7ac0de63cab438b6bf2c7a3918d67de873ef/src/MCP2515.cpp#L340

Check out the pull requests on this project, or go straight to my fork on GitHub for even more fixes. I don't think I've updated/fixed "filter extended", but if you...

Thanks Rudolf for pointing out, this is super useful! I just found out that my fork had the issue tracking disabled, so I've enabled it. Let's continue on https://github.com/timurrrr/arduino-CAN/issues/1

Have you seen https://github.com/sandeepmistry/arduino-CAN/pull/47 ?

Thanks for filing this! Once I realized there is room for improvement, I've decided to take a closer look at the datasheet and this is what I came up with...

Links to PRs: parsePacket(): https://github.com/sandeepmistry/arduino-CAN/pull/46 endPacket(): https://github.com/sandeepmistry/arduino-CAN/pull/49

@zalexzperez `CAN.onReceive(xyz)` sets up `xyz` as a callback. It should be called for every message received. If you want to filter packets by data, you probably want to do it...

Should be simple to implement. You can follow https://github.com/timurrrr/arduino-CAN/blob/7d0fd5d8a4bdfa0e91af6964f7c83de2de91b0f5/src/MCP2515.cpp#L555 from my fork of this library for pointers on how to read those things via SPI.

Oh sorry I didn't notice the last paragraph in your original message 🤦‍♂️

A good starting point would be to figure out what exactly fails. Try opening the source code of the arduino-CAN library installed into your Arduino IDE, follow the code that...