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.
2 parents abefe60 + 34d327f commit 18426c4Copy full SHA for 18426c4
libraries/Arduino_CAN/README.md
@@ -0,0 +1,20 @@
1
+`Arduino_CAN`
2
+=============
3
+### How-to-`SocketCAN`
4
+* Connect your [SocketCAN](https://en.wikipedia.org/wiki/SocketCAN) capable CAN/USB dongle to the PC and configure it.
5
+```bash
6
+sudo ip link set can0 type can bitrate 250000
7
+sudo ip link set up can0
8
+```
9
+* Install can-utils for cansend/candump:
10
11
+sudo apt-get install can-utils
12
13
+* Transmit CAN frames via [`cansend`](https://manpages.ubuntu.com/manpages/lunar/man1/cansend.1.html):
14
15
+cansend can0 1F334455#1122334455667788
16
17
+* Display received CAN frames via [`candump`](https://manpages.ubuntu.com/manpages/lunar/man1/candump.1.html):
18
19
+candump can0
20
0 commit comments