N4 Flight Software N4
Flight software used for the N4 flight computers
Loading...
Searching...
No Matches
custom_time.h File Reference

This file defines functions needed for human readable time conversion for data logging. More...

#include <Arduino.h>

Go to the source code of this file.

Functions

void convertTimestamp (unsigned long)
 convert time in milliseconds to minutes, seconds and time that are human readable, to be used for system logging or other data logging tasks
 

Variables

char tstamp []
 

Detailed Description

This file defines functions needed for human readable time conversion for data logging.


Function Documentation

◆ convertTimestamp()

void convertTimestamp ( unsigned long msec)

convert time in milliseconds to minutes, seconds and time that are human readable, to be used for system logging or other data logging tasks


Parameters
msectime in milliseconds, got from millis() function
Returns
tstamp with time in huma readable format

Variable Documentation

◆ tstamp

char tstamp[]
extern

buffer to hold a human readable timestamp