Tetrapod Project
utilities.cpp File Reference
#include "utilities.h"
Include dependency graph for utilities.cpp:

Go to the source code of this file.

Functions

void delay_microseconds (double microsecond_delay)
 Performs a nonblocking delay in the program Functions such as delay might block some interrupts. More...
 
void printCANMessageData (unsigned char *_can_message)
 The function takes in an array and prints the corresponding message to serial print. More...
 
void emptyCanMessage (unsigned char *_can_message)
 The function takes in an array are converts the first 8 elements to zero. More...
 

Function Documentation

◆ delay_microseconds()

void delay_microseconds ( double  _microseconds_delay)

Performs a nonblocking delay in the program Functions such as delay might block some interrupts.

Parameters
[in]_microseconds_delayNumber of microseconds the program should wait

Definition at line 3 of file utilities.cpp.

◆ printCANMessageData()

void printCANMessageData ( unsigned char *  _can_message)

The function takes in an array and prints the corresponding message to serial print.

Parameters
[in]_can_messageCAN message.

Definition at line 9 of file utilities.cpp.

◆ emptyCanMessage()

void emptyCanMessage ( unsigned char *  _can_message)

The function takes in an array are converts the first 8 elements to zero.

Parameters
[in]_can_messageThe first 8 elements are set to zero.

Definition at line 20 of file utilities.cpp.