mirror of
https://github.com/Seeed-Studio/Seeed_Arduino_CAN.git
synced 2026-09-14 18:42:56 +00:00
Readme updated
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
<br>
|
||||
@@ -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.
|
||||
|
||||
<br>
|
||||
## 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
|
||||
|
||||
|
||||
<br>
|
||||
|
||||
Reference in New Issue
Block a user