first commit
This commit is contained in:
16
ESP32_WAVESHARE_7x5/common_functions.h
Normal file
16
ESP32_WAVESHARE_7x5/common_functions.h
Normal file
@@ -0,0 +1,16 @@
|
||||
#ifndef COMMON_FUNCTIONS_H_
|
||||
#define COMMON_FUNCTIONS_H_
|
||||
#include <Arduino.h>
|
||||
#include <ArduinoJson.h>
|
||||
#include "common.h"
|
||||
|
||||
#define ARRAY_SIZE(array) ((sizeof(array))/(sizeof(array[0])))
|
||||
|
||||
float mm_to_inches(float value_mm);
|
||||
float hPa_to_inHg(float value_hPa);
|
||||
int JulianDate(int d, int m, int y);
|
||||
float SumOfPrecip(float DataArray[], int readings);
|
||||
String TitleCase(String text);
|
||||
void copy(float* src, float* dst, int len);
|
||||
void convertJsonToArray(float v[], String json, String sub_level, String data_name);
|
||||
#endif /* ifndef COMMON_FUNCTIONS_H_ */
|
||||
Reference in New Issue
Block a user