Rename ThermistorTable.h to thermistortable.h.
This is purely cosmetics to match naming conventions of other files. No functional change.
This commit is contained in:
parent
6f85f625cc
commit
f734b225eb
|
|
@ -6,7 +6,7 @@ build
|
|||
temporal.png
|
||||
temporal_data
|
||||
config.h
|
||||
ThermistorTable.h
|
||||
thermistortable.h
|
||||
Makefile
|
||||
sim
|
||||
doc
|
||||
|
|
|
|||
|
|
@ -134,9 +134,9 @@
|
|||
TT_PT100, TT_INTERCOM. See list in temp.c.
|
||||
|
||||
The "additional" field is used for TT_THERMISTOR only. It defines the
|
||||
name of the table(s) in ThermistorTable.h to use. Typically, this is
|
||||
THERMISTOR_EXTRUDER for the first or only table, or THERMISTOR_BED for
|
||||
the second table.
|
||||
name of the table(s) in thermistortable.h to use. This name is arbitrary,
|
||||
often used names include THERMISTOR_EXTRUDER and THERMISTOR_BED. Also,
|
||||
several sensors can share the same table, which saves binary size.
|
||||
|
||||
For a GEN3 set temp_type to TT_INTERCOM and temp_pin to AIO0. The pin
|
||||
won't be used in this case.
|
||||
|
|
|
|||
|
|
@ -133,9 +133,9 @@
|
|||
TT_PT100, TT_INTERCOM. See list in temp.c.
|
||||
|
||||
The "additional" field is used for TT_THERMISTOR only. It defines the
|
||||
name of the table(s) in ThermistorTable.h to use. Typically, this is
|
||||
THERMISTOR_EXTRUDER for the first or only table, or THERMISTOR_BED for
|
||||
the second table.
|
||||
name of the table(s) in thermistortable.h to use. This name is arbitrary,
|
||||
often used names include THERMISTOR_EXTRUDER and THERMISTOR_BED. Also,
|
||||
several sensors can share the same table, which saves binary size.
|
||||
|
||||
For a GEN3 set temp_type to TT_INTERCOM and temp_pin to AIO0. The pin
|
||||
won't be used in this case.
|
||||
|
|
|
|||
|
|
@ -133,9 +133,9 @@
|
|||
TT_PT100, TT_INTERCOM. See list in temp.c.
|
||||
|
||||
The "additional" field is used for TT_THERMISTOR only. It defines the
|
||||
name of the table(s) in ThermistorTable.h to use. Typically, this is
|
||||
THERMISTOR_EXTRUDER for the first or only table, or THERMISTOR_BED for
|
||||
the second table.
|
||||
name of the table(s) in thermistortable.h to use. This name is arbitrary,
|
||||
often used names include THERMISTOR_EXTRUDER and THERMISTOR_BED. Also,
|
||||
several sensors can share the same table, which saves binary size.
|
||||
|
||||
For a GEN3 set temp_type to TT_INTERCOM and temp_pin to AIO0. The pin
|
||||
won't be used in this case.
|
||||
|
|
|
|||
|
|
@ -138,9 +138,9 @@
|
|||
TT_PT100, TT_INTERCOM. See list in temp.c.
|
||||
|
||||
The "additional" field is used for TT_THERMISTOR only. It defines the
|
||||
name of the table(s) in ThermistorTable.h to use. Typically, this is
|
||||
THERMISTOR_EXTRUDER for the first or only table, or THERMISTOR_BED for
|
||||
the second table.
|
||||
name of the table(s) in thermistortable.h to use. This name is arbitrary,
|
||||
often used names include THERMISTOR_EXTRUDER and THERMISTOR_BED. Also,
|
||||
several sensors can share the same table, which saves binary size.
|
||||
|
||||
For a GEN3 set temp_type to TT_INTERCOM and temp_pin to AIO0. The pin
|
||||
won't be used in this case.
|
||||
|
|
|
|||
|
|
@ -139,9 +139,9 @@
|
|||
TT_PT100, TT_INTERCOM. See list in temp.c.
|
||||
|
||||
The "additional" field is used for TT_THERMISTOR only. It defines the
|
||||
name of the table(s) in ThermistorTable.h to use. Typically, this is
|
||||
THERMISTOR_EXTRUDER for the first or only table, or THERMISTOR_BED for
|
||||
the second table.
|
||||
name of the table(s) in thermistortable.h to use. This name is arbitrary,
|
||||
often used names include THERMISTOR_EXTRUDER and THERMISTOR_BED. Also,
|
||||
several sensors can share the same table, which saves binary size.
|
||||
|
||||
For a GEN3 set temp_type to TT_INTERCOM and temp_pin to AIO0. The pin
|
||||
won't be used in this case.
|
||||
|
|
|
|||
|
|
@ -135,9 +135,9 @@
|
|||
TT_PT100, TT_INTERCOM. See list in temp.c.
|
||||
|
||||
The "additional" field is used for TT_THERMISTOR only. It defines the
|
||||
name of the table(s) in ThermistorTable.h to use. Typically, this is
|
||||
THERMISTOR_EXTRUDER for the first or only table, or THERMISTOR_BED for
|
||||
the second table.
|
||||
name of the table(s) in thermistortable.h to use. This name is arbitrary,
|
||||
often used names include THERMISTOR_EXTRUDER and THERMISTOR_BED. Also,
|
||||
several sensors can share the same table, which saves binary size.
|
||||
|
||||
For a GEN3 set temp_type to TT_INTERCOM and temp_pin to AIO0. The pin
|
||||
won't be used in this case.
|
||||
|
|
|
|||
|
|
@ -136,9 +136,9 @@
|
|||
TT_PT100, TT_INTERCOM. See list in temp.c.
|
||||
|
||||
The "additional" field is used for TT_THERMISTOR only. It defines the
|
||||
name of the table(s) in ThermistorTable.h to use. Typically, this is
|
||||
THERMISTOR_EXTRUDER for the first or only table, or THERMISTOR_BED for
|
||||
the second table.
|
||||
name of the table(s) in thermistortable.h to use. This name is arbitrary,
|
||||
often used names include THERMISTOR_EXTRUDER and THERMISTOR_BED. Also,
|
||||
several sensors can share the same table, which saves binary size.
|
||||
|
||||
For a GEN3 set temp_type to TT_INTERCOM and temp_pin to AIO0. The pin
|
||||
won't be used in this case.
|
||||
|
|
|
|||
|
|
@ -137,9 +137,9 @@
|
|||
TT_PT100, TT_INTERCOM. See list in temp.c.
|
||||
|
||||
The "additional" field is used for TT_THERMISTOR only. It defines the
|
||||
name of the table(s) in ThermistorTable.h to use. Typically, this is
|
||||
THERMISTOR_EXTRUDER for the first or only table, or THERMISTOR_BED for
|
||||
the second table.
|
||||
name of the table(s) in thermistortable.h to use. This name is arbitrary,
|
||||
often used names include THERMISTOR_EXTRUDER and THERMISTOR_BED. Also,
|
||||
several sensors can share the same table, which saves binary size.
|
||||
|
||||
For a GEN3 set temp_type to TT_INTERCOM and temp_pin to AIO0. The pin
|
||||
won't be used in this case.
|
||||
|
|
|
|||
|
|
@ -137,9 +137,9 @@
|
|||
TT_PT100, TT_INTERCOM. See list in temp.c.
|
||||
|
||||
The "additional" field is used for TT_THERMISTOR only. It defines the
|
||||
name of the table(s) in ThermistorTable.h to use. Typically, this is
|
||||
THERMISTOR_EXTRUDER for the first or only table, or THERMISTOR_BED for
|
||||
the second table.
|
||||
name of the table(s) in thermistortable.h to use. This name is arbitrary,
|
||||
often used names include THERMISTOR_EXTRUDER and THERMISTOR_BED. Also,
|
||||
several sensors can share the same table, which saves binary size.
|
||||
|
||||
For a GEN3 set temp_type to TT_INTERCOM and temp_pin to AIO0. The pin
|
||||
won't be used in this case.
|
||||
|
|
|
|||
|
|
@ -137,9 +137,9 @@
|
|||
TT_PT100, TT_INTERCOM. See list in temp.c.
|
||||
|
||||
The "additional" field is used for TT_THERMISTOR only. It defines the
|
||||
name of the table(s) in ThermistorTable.h to use. Typically, this is
|
||||
THERMISTOR_EXTRUDER for the first or only table, or THERMISTOR_BED for
|
||||
the second table.
|
||||
name of the table(s) in thermistortable.h to use. This name is arbitrary,
|
||||
often used names include THERMISTOR_EXTRUDER and THERMISTOR_BED. Also,
|
||||
several sensors can share the same table, which saves binary size.
|
||||
|
||||
For a GEN3 set temp_type to TT_INTERCOM and temp_pin to AIO0. The pin
|
||||
won't be used in this case.
|
||||
|
|
|
|||
|
|
@ -137,9 +137,9 @@
|
|||
TT_PT100, TT_INTERCOM. See list in temp.c.
|
||||
|
||||
The "additional" field is used for TT_THERMISTOR only. It defines the
|
||||
name of the table(s) in ThermistorTable.h to use. Typically, this is
|
||||
THERMISTOR_EXTRUDER for the first or only table, or THERMISTOR_BED for
|
||||
the second table.
|
||||
name of the table(s) in thermistortable.h to use. This name is arbitrary,
|
||||
often used names include THERMISTOR_EXTRUDER and THERMISTOR_BED. Also,
|
||||
several sensors can share the same table, which saves binary size.
|
||||
|
||||
For a GEN3 set temp_type to TT_INTERCOM and temp_pin to AIO0. The pin
|
||||
won't be used in this case.
|
||||
|
|
|
|||
|
|
@ -134,9 +134,9 @@
|
|||
TT_PT100, TT_INTERCOM. See list in temp.c.
|
||||
|
||||
The "additional" field is used for TT_THERMISTOR only. It defines the
|
||||
name of the table(s) in ThermistorTable.h to use. Typically, this is
|
||||
THERMISTOR_EXTRUDER for the first or only table, or THERMISTOR_BED for
|
||||
the second table.
|
||||
name of the table(s) in thermistortable.h to use. This name is arbitrary,
|
||||
often used names include THERMISTOR_EXTRUDER and THERMISTOR_BED. Also,
|
||||
several sensors can share the same table, which saves binary size.
|
||||
|
||||
For a GEN3 set temp_type to TT_INTERCOM and temp_pin to AIO0. The pin
|
||||
won't be used in this case.
|
||||
|
|
|
|||
|
|
@ -134,9 +134,9 @@
|
|||
TT_PT100, TT_INTERCOM. See list in temp.c.
|
||||
|
||||
The "additional" field is used for TT_THERMISTOR only. It defines the
|
||||
name of the table(s) in ThermistorTable.h to use. Typically, this is
|
||||
THERMISTOR_EXTRUDER for the first or only table, or THERMISTOR_BED for
|
||||
the second table.
|
||||
name of the table(s) in thermistortable.h to use. This name is arbitrary,
|
||||
often used names include THERMISTOR_EXTRUDER and THERMISTOR_BED. Also,
|
||||
several sensors can share the same table, which saves binary size.
|
||||
|
||||
For a GEN3 set temp_type to TT_INTERCOM and temp_pin to AIO0. The pin
|
||||
won't be used in this case.
|
||||
|
|
|
|||
|
|
@ -621,12 +621,12 @@ class BoardPanel(wx.Panel):
|
|||
|
||||
if generateTempTables(self.sensors, self.settings):
|
||||
dlg = wx.MessageDialog(self,
|
||||
"File ThermistorTable.h successfully written.",
|
||||
"File thermistortable.h successfully written.",
|
||||
"Save successful", wx.OK + wx.ICON_INFORMATION)
|
||||
dlg.ShowModal()
|
||||
dlg.Destroy()
|
||||
else:
|
||||
dlg = wx.MessageDialog(self, "Error writing to file ThermistorTable.h.",
|
||||
dlg = wx.MessageDialog(self, "Error writing to file thermistortable.h.",
|
||||
"File error", wx.OK + wx.ICON_ERROR)
|
||||
dlg.ShowModal()
|
||||
dlg.Destroy()
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ from createTemperatureLookup import Thermistor
|
|||
class ThermistorTableFile:
|
||||
def __init__(self, folder):
|
||||
self.error = False
|
||||
fn = os.path.join(folder, "ThermistorTable.h")
|
||||
fn = os.path.join(folder, "thermistortable.h")
|
||||
try:
|
||||
self.fp = open(fn, 'wb')
|
||||
except:
|
||||
|
|
|
|||
|
|
@ -3,7 +3,10 @@
|
|||
/** \file
|
||||
\brief Manage temperature sensors
|
||||
|
||||
\note \b ALL temperatures are stored as 14.2 fixed point in teacup, so we have a range of 0 - 16383.75 celsius and a precision of 0.25 celsius. That includes the ThermistorTable, which is why you can't copy and paste one from other firmwares which don't do this.
|
||||
\note All temperatures are stored as 14.2 fixed point in Teacup, so we have
|
||||
a range of 0 - 16383.75 deg Celsius at a precision of 0.25 deg. That includes
|
||||
the thermistor table, which is why you can't copy and paste one from other
|
||||
firmwares which don't do this.
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
|
|
@ -26,7 +29,7 @@
|
|||
|
||||
#ifdef TEMP_THERMISTOR
|
||||
#include "analog.h"
|
||||
#include "ThermistorTable.h"
|
||||
#include "thermistortable.h"
|
||||
#endif
|
||||
|
||||
#ifdef TEMP_AD595
|
||||
|
|
|
|||
7
temp.c
7
temp.c
|
|
@ -3,7 +3,10 @@
|
|||
/** \file
|
||||
\brief Manage temperature sensors
|
||||
|
||||
\note \b ALL temperatures are stored as 14.2 fixed point in teacup, so we have a range of 0 - 16383.75 celsius and a precision of 0.25 celsius. That includes the ThermistorTable, which is why you can't copy and paste one from other firmwares which don't do this.
|
||||
\note All temperatures are stored as 14.2 fixed point in Teacup, so we have
|
||||
a range of 0 - 16383.75 deg Celsius at a precision of 0.25 deg. That includes
|
||||
the thermistor table, which is why you can't copy and paste one from other
|
||||
firmwares which don't do this.
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
|
|
@ -28,7 +31,7 @@
|
|||
|
||||
#ifdef TEMP_THERMISTOR
|
||||
#include "analog.h"
|
||||
#include "ThermistorTable.h"
|
||||
#include "thermistortable.h"
|
||||
#endif
|
||||
|
||||
#ifdef TEMP_AD595
|
||||
|
|
|
|||
|
|
@ -383,9 +383,9 @@
|
|||
* TT_PT100, TT_INTERCOM. See list in temp.c. *
|
||||
* *
|
||||
* The "additional" field is used for TT_THERMISTOR only. It defines the *
|
||||
* name of the table(s) in ThermistorTable.h to use. Typically, this is *
|
||||
* THERMISTOR_EXTRUDER for the first or only table, or THERMISTOR_BED for *
|
||||
* the second table. *
|
||||
* name of the table(s) in thermistortable.h to use. This name is arbitrary, *
|
||||
* often used names include THERMISTOR_EXTRUDER and THERMISTOR_BED. Also, *
|
||||
* several sensors can share the same table, which saves binary size. *
|
||||
* *
|
||||
* For a GEN3 set temp_type to TT_INTERCOM and temp_pin to AIO0. The pin *
|
||||
* won't be used in this case. *
|
||||
|
|
|
|||
Loading…
Reference in New Issue