MCP2515 Help with Mask and Filter

Hello,
I have read my car can bus( bmw e90).
Now i dont know how to filter, convert data. I use mcp2515.h library.
In serial monitor i see can id and hex data (for example rpm):

0x0AA- 5F 59 FF 00 34 0D 80 99.
———
Engine RPM

Hex 0D34 = 3380
3380/ 4 = 845 RPM

formula = ((Byte[5] * 256) + Byte[4] ) / 4
Example = (( 13*256 ) + 52 ) / 4 = 845 RPM

Can someone help to see example results in serial monitor?
Thanks.

http://www.loopybunny.co.uk/CarPC/can/0AA.html

Do you know the basics of programming such as how to add and divide numbers?

I newbie, have done simple project

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.