mirror of
https://github.com/Seeed-Studio/Seeed_Arduino_CAN.git
synced 2026-09-14 18:42:56 +00:00
@@ -27,9 +27,9 @@ unsigned char stmp[8] = {ledHIGH, 1, 2, 3, ledLOW, 5, 6, 7};
|
||||
|
||||
void loop()
|
||||
{ Serial.println("In loop");
|
||||
// send data: id = 0x00, standrad frame, data len = 8, stmp: data buf
|
||||
// send data: id = 0x00, standard frame, data len = 8, stmp: data buf
|
||||
CAN.sendMsgBuf(0x70,0, 8, stmp);
|
||||
delay(1000); // send data per 100ms
|
||||
delay(1000); // send data once per second
|
||||
}
|
||||
|
||||
/*********************************************************************************************************
|
||||
|
||||
Reference in New Issue
Block a user