buildroot/support/testing/tests/package/sample_python_can.py

7 lines
168 B
Python

import can
msg = can.Message(arbitration_id=0xc0ffee,
data=[0, 25, 0, 1, 3, 1, 4, 1],
is_extended_id=True)
assert(msg is not None)