reading internal temperature sensor of arch max and storing data

Revision:
0:62f36500cd41
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/TempBase.h	Thu Sep 14 12:05:02 2017 +0000
@@ -0,0 +1,24 @@
+#ifndef TEMPBASE_H
+#define TEMPBASE_H
+
+class TempBase
+{
+  public:
+    TempBase();
+    TempBase(float);
+    void Init();
+    int GetRawTemp();
+    float ConvertTemp(int);
+    
+    
+  private:
+    float ambientTemp;
+    float v25;
+    float avgSlope;
+    float vRef;  
+  
+    ADC_HandleTypeDef hadc1;         // Declare main adc confic object
+    ADC_ChannelConfTypeDef sConfig;  //Declare the ST HAL ADC object
+};
+
+#endif