Skip to content

Commit ba1ab9c

Browse files
added OSM mode and descriptions
1 parent 6c2941c commit ba1ab9c

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,10 @@ To create connection with MCP2515 provide pin number where SPI CS is connected (
5858

5959
The available modes are listed as follows:
6060
```C++
61-
mcp2515.setNormalMode();
62-
mcp2515.setLoopbackMode();
63-
mcp2515.setListenOnlyMode();
61+
mcp2515.setNormalMode(); // sends and receives data normally, sends acknowledgments to other nodes, when sending data, requires an acknowledgment from another node that the message was received or else, the 2515 will autonomously keep sending the same data
62+
mcp2515.setNormalOneShotMode(); // sends and receives data normally, sends acknoledgements to other nodes that their message was received, when sending data, does not require an acknowledgement from another node that the message was received.
63+
mcp2515.setLoopbackMode(); // data sent is immediately received and is not written to the bus, does not send acknowledgements
64+
mcp2515.setListenOnlyMode(); // does not send data, only receives data, does not send acknowledgements
6465
```
6566
The available baudrates are listed as follows:
6667
```C++

0 commit comments

Comments
 (0)