From f5b5dd8038c806efadc24de6ed85bbcd189f2e0b Mon Sep 17 00:00:00 2001 From: David Forrest Date: Wed, 29 Jan 2014 22:45:10 -0500 Subject: [PATCH] createTemperatureLookupMarlin.py: Add output of Steinhart-Hart coefficients. --- Marlin/createTemperatureLookupMarlin.py | 1 + 1 file changed, 1 insertion(+) mode change 100644 => 100755 Marlin/createTemperatureLookupMarlin.py diff --git a/Marlin/createTemperatureLookupMarlin.py b/Marlin/createTemperatureLookupMarlin.py old mode 100644 new mode 100755 index 592dae53d..bf24dc652 --- a/Marlin/createTemperatureLookupMarlin.py +++ b/Marlin/createTemperatureLookupMarlin.py @@ -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 = {"