|
|
if(!digitalRead(CAN_INTpin)) // If pin 2 is low, read receive buffer
|
|
if(!digitalRead(CAN_INTpin)) // If pin 2 is low, read receive buffer
|
|
|
CAN0.readMsgBuf(&CANrxId, &CANlen, CANrxBuf); // Read data: len = data length, buf = data byte(s)
|
|
CAN0.readMsgBuf(&CANrxId, &CANlen, CANrxBuf); // Read data: len = data length, buf = data byte(s)
|