From e1d8e2341a27f307efc9f0d38eac35e4847c6124 Mon Sep 17 00:00:00 2001 From: Dmitry Date: Wed, 6 Jan 2016 20:52:34 +0300 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b3054df..3e33dfd 100644 --- a/README.md +++ b/README.md @@ -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); ```