Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
TempBase.h
00001 #ifndef TEMPBASE_H 00002 #define TEMPBASE_H 00003 00004 class TempBase 00005 { 00006 public: 00007 TempBase(); 00008 TempBase(float); 00009 void Init(); 00010 int GetRawTemp(); 00011 float ConvertTemp(int); 00012 00013 00014 private: 00015 float ambientTemp; 00016 float v25; 00017 float avgSlope; 00018 float vRef; 00019 00020 ADC_HandleTypeDef hadc1; // Declare main adc confic object 00021 ADC_ChannelConfTypeDef sConfig; //Declare the ST HAL ADC object 00022 }; 00023 00024 #endif
Generated on Tue Jul 19 2022 04:04:00 by
1.7.2