5 double timer = micros();
6 while(timer + microsecond_delay > micros());
11 for(
int i = 0; i < 8; i++)
14 Serial.print(_can_message[i]);
22 for(
int i = 0; i < 8; i++)
void delay_microseconds(double microsecond_delay)
Performs a nonblocking delay in the program Functions such as delay might block some interrupts.
void printCANMessageData(unsigned char *_can_message)
The function takes in an array and prints the corresponding message to serial print.
void emptyCanMessage(unsigned char *_can_message)
The function takes in an array are converts the first 8 elements to zero.