mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-07-14 02:07:50 -06:00
Add OV() macro for use in thermistor tables
This commit is contained in:
parent
24057270a3
commit
0918dae66e
25 changed files with 931 additions and 930 deletions
|
@ -140,7 +140,7 @@ def main(argv):
|
|||
|
||||
for temp in temps:
|
||||
adc = t.adc(temp)
|
||||
print " { (short) (%7.2f * OVERSAMPLENR ), %4s }%s // v=%.3f\tr=%.3f\tres=%.3f degC/count" % (adc , temp, \
|
||||
print " { OV(%7.2f), %4s }%s // v=%.3f\tr=%.3f\tres=%.3f degC/count" % (adc , temp, \
|
||||
',' if temp != temps[-1] else ' ', \
|
||||
t.voltage(adc), \
|
||||
t.resist( adc), \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue