|
tico 0.1
Mechanical Watch Terminal Timegrapher
|
#include "printing.h"#include "modsigned.h"#include "mydefs.h"#include <math.h>#include <stdarg.h>#include <stdio.h>#include <string.h>
Functions | |
| void | printmsg (const char *fmt,...) |
| void | print (const char *fmt,...) |
| void | printheader (double fittedRate, unsigned int everyline, double beatError, double seconds) |
| void | printspaces (int maxpos, size_t hexvalue, size_t mod, size_t acolumns, double avgPos, double correlationThreshold) |
| Prints spaces to visually represent the position of the maximum correlation in the capture output, based on the provided parameters. More... | |
Variables | |
| volatile unsigned int | columns |
| void print | ( | const char * | fmt, |
| ... | |||
| ) |
| void printheader | ( | double | fittedRate, |
| unsigned int | everyline, | ||
| double | beatError, | ||
| double | seconds | ||
| ) |
| void printmsg | ( | const char * | fmt, |
| ... | |||
| ) |
| void printspaces | ( | int | maxpos, |
| size_t | hexvalue, | ||
| size_t | mod, | ||
| size_t | acolumns, | ||
| double | avgPos, | ||
| double | correlationThreshold | ||
| ) |
Prints spaces to visually represent the position of the maximum correlation in the capture output, based on the provided parameters.
| maxpos | The position of the maximum correlation. |
| hexvalue | The hexadecimal value representing the correlation strength. |
| mod | The modulus used for calculating the width of the spaces. |
| acolumns | The total number of columns available for printing. |
| avgPos | The average position of the correlation. |
| correlationThreshold | The threshold for determining the color of the output. |
|
extern |