From f27d19cffc3eaea40aeaae45b2e966a98853febf Mon Sep 17 00:00:00 2001 From: latonita Date: Tue, 7 Apr 2015 01:04:50 +0300 Subject: [PATCH] Readme updated --- README.md | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index d0906c1..203a2dc 100644 --- a/README.md +++ b/README.md @@ -35,13 +35,14 @@ The available baudrates are listed as follws: #define CAN_40KBPS 6 #define CAN_50KBPS 7 #define CAN_80KBPS 8 - #define CAN_95KBPS 9 - #define CAN_100KBPS 10 - #define CAN_125KBPS 11 - #define CAN_200KBPS 12 - #define CAN_250KBPS 13 - #define CAN_500KBPS 14 - #define CAN_1000KBPS 15 + #define CAN_83K3BPS 9 + #define CAN_95KBPS 10 + #define CAN_100KBPS 11 + #define CAN_125KBPS 12 + #define CAN_200KBPS 13 + #define CAN_250KBPS 14 + #define CAN_500KBPS 15 + #define CAN_1000KBPS 16
@@ -120,6 +121,15 @@ In conditions that masks and filters have been set. This function can only get f **buf** is where you store the data. +
+## 7. Check additional flags + +When frame is received you may check whether it was remote request and whether it was an extended (29bit) frame. + + CAN.isRemoteRequest(); + CAN.isExtFrame(); + +**return value** is '0' for a negative response and '1' for a positive