aboutsummaryrefslogtreecommitdiff
path: root/cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpu.h')
-rw-r--r--cpu.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/cpu.h b/cpu.h
new file mode 100644
index 0000000..cffd298
--- /dev/null
+++ b/cpu.h
@@ -0,0 +1,21 @@
+#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;
+
+#endif // __CPU_H__