We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6735a0e commit 1d708a0Copy full SHA for 1d708a0
examples/send_one.py
@@ -3,7 +3,10 @@
3
4
5
def send_one():
6
- bus = can.interface.Bus()
+ bus = can.interface.Bus(bustype='pcan', channel='PCAN_USBBUS1', bitrate=250000)
7
+ #bus = can.interface.Bus(bustype='ixxat', channel=0, bitrate=250000)
8
+ #bus = can.interface.Bus(bustype='vector', app_name='CANalyzer', channel=0, bitrate=250000)
9
+
10
msg = can.Message(arbitration_id=0xc0ffee,
11
data=[0, 25, 0, 1, 3, 1, 4, 1],
12
extended_id=True)
0 commit comments