mirror of https://github.com/lumapu/ahoy.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
637 B
23 lines
637 B
//-----------------------------------------------------------------------------
|
|
// 2022 Ahoy, https://ahoydtu.de
|
|
// Creative Commons - http://creativecommons.org/licenses/by-nc-sa/3.0/de/
|
|
//-----------------------------------------------------------------------------
|
|
|
|
#ifndef __HELPER_H__
|
|
#define __HELPER_H__
|
|
|
|
#include <Arduino.h>
|
|
#include <cstdint>
|
|
#include <cstring>
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <TimeLib.h>
|
|
|
|
namespace ah {
|
|
void ip2Arr(uint8_t ip[], const char *ipStr);
|
|
void ip2Char(uint8_t ip[], char *str);
|
|
double round3(double value);
|
|
String getDateTimeStr(time_t t);
|
|
}
|
|
|
|
#endif /*__HELPER_H__*/
|
|
|