createTemperatureLookupMarlin.py: Add output of Steinhart-Hart coefficients.
This commit is contained in:
parent
7216583b8b
commit
f5b5dd8038
1 changed files with 1 additions and 0 deletions
1
Marlin/createTemperatureLookupMarlin.py
Normal file → Executable file
1
Marlin/createTemperatureLookupMarlin.py
Normal file → Executable file
|
@ -135,6 +135,7 @@ def main(argv):
|
|||
|
||||
print "// Thermistor lookup table for Marlin"
|
||||
print "// ./createTemperatureLookup.py --rp=%s --t1=%s:%s --t2=%s:%s --t3=%s:%s --num-temps=%s" % (rp, t1, r1, t2, r2, t3, r3, num_temps)
|
||||
print "// Steinhart-Hart Coefficients: %.15g, %.15g, %.15g " % (t.c1, t.c2, t.c3)
|
||||
print "//#define NUMTEMPS %s" % (len(temps))
|
||||
print "const short temptable[NUMTEMPS][2] PROGMEM = {"
|
||||
|
||||
|
|
Reference in a new issue