Pārlūkot izejas kodu

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

David Forrest 11 gadus atpakaļ
vecāks
revīzija
f5b5dd8038
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1
    0
      Marlin/createTemperatureLookupMarlin.py

+ 1
- 0
Marlin/createTemperatureLookupMarlin.py Parādīt failu

135
 
135
 
136
     print "// Thermistor lookup table for Marlin"
136
     print "// Thermistor lookup table for Marlin"
137
     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)
137
     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)
138
+    print "// Steinhart-Hart Coefficients: %.15g, %.15g,  %.15g " % (t.c1, t.c2, t.c3)
138
     print "//#define NUMTEMPS %s" % (len(temps))
139
     print "//#define NUMTEMPS %s" % (len(temps))
139
     print "const short temptable[NUMTEMPS][2] PROGMEM = {"
140
     print "const short temptable[NUMTEMPS][2] PROGMEM = {"
140
 
141
 

Notiek ielāde…
Atcelt
Saglabāt