Browse Source

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

pull/1/head
David Forrest 11 years ago
parent
commit
f5b5dd8038
  1. 1
      Marlin/createTemperatureLookupMarlin.py

1
Marlin/createTemperatureLookupMarlin.py

@ -135,6 +135,7 @@ def main(argv):
print "// Thermistor lookup table for Marlin" 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 "// ./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 "//#define NUMTEMPS %s" % (len(temps))
print "const short temptable[NUMTEMPS][2] PROGMEM = {" print "const short temptable[NUMTEMPS][2] PROGMEM = {"

Loading…
Cancel
Save