We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa3d684 commit fd638a1Copy full SHA for fd638a1
examples/CAN_read/CAN_read.ino
@@ -19,7 +19,7 @@ void setup() {
19
20
void loop() {
21
22
- if (mcp2515.readMessage(&canMsg) == MCP_CAN::ERROR_OK) {
+ if (mcp2515.readMessage(&canMsg) == MCP2515::ERROR_OK) {
23
24
Serial.print(canMsg.can_id, HEX); // print ID
25
Serial.print(" ");
0 commit comments