File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11#!/usr/bin/env python
2- # coding: utf-8
32
43"""
54This example exercises the periodic sending capabilities.
109
1110"""
1211
13- from __future__ import print_function
14-
1512import logging
1613import time
1714
Original file line number Diff line number Diff line change 11#!/usr/bin/env python
2- # coding: utf-8
32
43"""
54This example exercises the periodic task's multiple message sending capabilities
109
1110"""
1211
13- from __future__ import print_function
14-
1512import logging
1613import time
1714
Original file line number Diff line number Diff line change 11#!/usr/bin/env python
22
3- from __future__ import print_function
4-
53import can
64from can .bus import BusState
75
Original file line number Diff line number Diff line change 11#!/usr/bin/env python
2- # coding: utf-8
32
43"""
54This example shows how sending a single message works.
65"""
76
8- from __future__ import print_function
9-
107import can
118
129
Original file line number Diff line number Diff line change 11#!/usr/bin/env python
2- # coding: utf-8
32
43"""
54This example sends every second a messages over the serial interface and also
1918 com0com: http://com0com.sourceforge.net/
2019"""
2120
22- from __future__ import print_function
23-
2421import time
2522import threading
2623
Original file line number Diff line number Diff line change 11#!/usr/bin/env python
2- # coding: utf-8
32
43"""
54Use this to convert .can/.asc files to .log files.
Original file line number Diff line number Diff line change 11#!/usr/bin/env python
2- # coding: utf-8
32
43"""
54This shows how message filtering works.
Original file line number Diff line number Diff line change 11#!/usr/bin/env python
2- # coding: utf-8
32
43"""
54This demo creates multiple processes of producers to spam a socketcan bus.
You can’t perform that action at this time.
0 commit comments