Update README.md

This commit is contained in:
Dmitry
2016-01-06 20:52:34 +03:00
parent 77881cbaec
commit e1d8e2341a
+2 -2
View File
@@ -112,7 +112,7 @@ frame.data[3] = 0xFF;
/* send out the message to the bus and
tell other devices this is a standard frame from 0x00. */
CAN.sendMessage(&frame);
mcp2551.sendMessage(&frame);
```
```C++
@@ -124,7 +124,7 @@ frame.data[1] = 0xFF;
/* send out the message to the bus using second TX buffer and
tell other devices this is a extended frame from 0x12345678. */
CAN.sendMessage(MCP_CAN::TXB1, &frame);
mcp2551.sendMessage(MCP_CAN::TXB1, &frame);
```