Add comments
This commit is contained in:
parent
5e22a493e2
commit
8e58925dd1
@ -4,7 +4,7 @@
|
||||
<logicalFolder name="HeaderFiles"
|
||||
displayName="Header Files"
|
||||
projectFiles="true">
|
||||
<itemPath>uart.h</itemPath>
|
||||
<itemPath>eeprom.h</itemPath>
|
||||
<itemPath>themistor-temp.h</itemPath>
|
||||
</logicalFolder>
|
||||
<logicalFolder name="LinkerScript"
|
||||
@ -15,7 +15,7 @@
|
||||
displayName="Source Files"
|
||||
projectFiles="true">
|
||||
<itemPath>main.c</itemPath>
|
||||
<itemPath>uart.c</itemPath>
|
||||
<itemPath>eeprom.c</itemPath>
|
||||
<itemPath>thermistor-temp.c</itemPath>
|
||||
</logicalFolder>
|
||||
<logicalFolder name="ExternalFiles"
|
||||
@ -147,6 +147,9 @@
|
||||
<property key="program-the-device-with-default-config-words" value="false"/>
|
||||
<property key="remove-unused-sections" value="true"/>
|
||||
</HI-TECH-LINK>
|
||||
<Tool>
|
||||
<property key="debugoptions.useswbreakpoints" value="true"/>
|
||||
</Tool>
|
||||
<XC8-CO>
|
||||
<property key="coverage-enable" value=""/>
|
||||
<property key="stack-guidance" value="false"/>
|
||||
@ -169,6 +172,9 @@
|
||||
<property key="user-pack-device-support" value=""/>
|
||||
<property key="wpo-lto" value="false"/>
|
||||
</XC8-config-global>
|
||||
<nEdbgTool>
|
||||
<property key="debugoptions.useswbreakpoints" value="true"/>
|
||||
</nEdbgTool>
|
||||
</conf>
|
||||
</confs>
|
||||
</configurationDescriptor>
|
||||
|
||||
@ -23,7 +23,7 @@ extern "C" {
|
||||
|
||||
// Takes inn messured value
|
||||
// Calculates the temperature in celcius
|
||||
// Returns the themperature
|
||||
// Returns the thermistor themperature
|
||||
float calculate_thermistor_temp(float readValue);
|
||||
|
||||
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
#include "themistor-temp.h"
|
||||
|
||||
|
||||
float calculate_thermistor_temp(float readValue){
|
||||
float R_therm;
|
||||
float V_1;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user