diff --git a/examples/receive_check/receive_check.ino b/examples/receive_check/receive_check.ino index 40e9282..43fb1fe 100644 --- a/examples/receive_check/receive_check.ino +++ b/examples/receive_check/receive_check.ino @@ -36,7 +36,7 @@ void loop() { CAN.readMsgBuf(&len, buf); // read data, len: data length, buf: data buf - unsigned char canId = CAN.getCanId(); + unsigned int canId = CAN.getCanId(); Serial.println("-----------------------------"); Serial.print("Get data from ID: ");