aboutsummaryrefslogtreecommitdiff
path: root/cpu.h
blob: 9c1b5a340943cd89c1416cf7ba6ba03751c491af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef __CPU_H__
#define __CPU_H__

#include<Arduino.h>

#define defaultValue 0

extern void initCpuParameters();
extern int8_t setCpuTemp(String command);
extern int8_t setCpuUsage(String command);
extern int8_t setRamMax(String command);
extern int8_t setRamFree(String command);

extern int16_t cpuUsageGlobal;
extern int16_t cpuUsage[8];
extern int16_t cpuTempGlobal;
extern int16_t cpuTemp[8];
extern uint32_t ramMax;
extern uint32_t ramFree;
extern String OS;
extern String KernelVer;
extern String Uptime;

#endif // __CPU_H__