Skip to content

Commit

Permalink
pls
Browse files Browse the repository at this point in the history
  • Loading branch information
XanderHayhoe committed May 5, 2024
1 parent 021d960 commit c54d32c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import can

bus = can.interface.Bus(channel="can0", bustype="socketcan_native")
bus = can.interface.Bus(channel="can0", bustype="socketcan")
notifier = can.Notifier(bus, [can.Printer()])
2 changes: 1 addition & 1 deletion custom_listener.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import can

bus = can.interface.Bus(channel="can0", bustype="socketcan_native")
bus = can.interface.Bus(channel="can0", bustype="socketcan")
msg = can.Message(arbitration_id=0x7de,data=[0, 25, 0, 1, 3, 1, 4, 1])
bus.send(msg)

0 comments on commit c54d32c

Please sign in to comment.