merge rusEFI wiki
This commit is contained in:
commit
5c74b96585
|
@ -143,7 +143,7 @@ use enableCanTx(false) to suppress CAN TX
|
|||
- Parameters
|
||||
- id: CAN ID to listen to.
|
||||
- mask: Apply a mask to the received ID before comparing to the `id` parameter. For example, passing an id of `3` and mask of 0xFF will match any frame whose last 8 bits match `3`. If omitted, no masking is applied before comparison, so only a single CAN ID will be received. Use the mask to subscribe to multiple messages with similar IDs with a single call to `canRxAddMask`.
|
||||
- bus: Hardware CAN bus index, only '1' on must rusEFI boards, '1' or '2' on Proteus. If this parameter is omitted, messages will be received from any bus.
|
||||
- bus: Hardware CAN bus index, only '1' on most rusEFI boards, '1' or '2' on Proteus. If this parameter is omitted, messages will be received from any bus.
|
||||
- callback: A the callback function to call when the specified ID is received. If this parameter is not passed, the default function `onCanRx` will be used.
|
||||
|
||||
Your CAN RX callback should look like this:
|
||||
|
|
Loading…
Reference in New Issue