MBot Software Library  v1.0
An API documentation to mbot_firmware repository
print_tables.h
Go to the documentation of this file.
1 #ifndef TABLE_GENERATOR_H
2 #define TABLE_GENERATOR_H
3 
19 void generateTableInt(char* buf, int rows, int cols, const char* title, const char* headings[], int data[rows][cols]);
20 
31 void generateTableFloat(char* buf, int rows, int cols, const char* title, const char* headings[], float data[rows][cols]);
32 
33 void generateBottomLine(char* buf, int cols);
34 #endif /* TABLE_GENERATOR_H */
void generateTableFloat(char *buf, int rows, int cols, const char *title, const char *headings[], float data[rows][cols])
Generates a formatted table with floating-point data.
Definition: print_tables.c:42
void generateTableInt(char *buf, int rows, int cols, const char *title, const char *headings[], int data[rows][cols])
Generates a formatted table with integer data.
Definition: print_tables.c:5