createTemperatureLookupMarlin.py: Add output of Steinhart-Hart coefficients.

master
David Forrest 11 years ago
parent 7216583b8b
commit f5b5dd8038

@ -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 = {"

Loading…
Cancel
Save