My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

thermistortables.h 28KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881
  1. #ifndef THERMISTORTABLES_H_
  2. #define THERMISTORTABLES_H_
  3. #include "Marlin.h"
  4. #define OVERSAMPLENR 16
  5. #if (THERMISTORHEATER_0 == 1) || (THERMISTORHEATER_1 == 1) || (THERMISTORHEATER_2 == 1) || (THERMISTORBED == 1) //100k bed thermistor
  6. const short temptable_1[][2] PROGMEM = {
  7. { 23*OVERSAMPLENR , 300 },
  8. { 25*OVERSAMPLENR , 295 },
  9. { 27*OVERSAMPLENR , 290 },
  10. { 28*OVERSAMPLENR , 285 },
  11. { 31*OVERSAMPLENR , 280 },
  12. { 33*OVERSAMPLENR , 275 },
  13. { 35*OVERSAMPLENR , 270 },
  14. { 38*OVERSAMPLENR , 265 },
  15. { 41*OVERSAMPLENR , 260 },
  16. { 44*OVERSAMPLENR , 255 },
  17. { 48*OVERSAMPLENR , 250 },
  18. { 52*OVERSAMPLENR , 245 },
  19. { 56*OVERSAMPLENR , 240 },
  20. { 61*OVERSAMPLENR , 235 },
  21. { 66*OVERSAMPLENR , 230 },
  22. { 71*OVERSAMPLENR , 225 },
  23. { 78*OVERSAMPLENR , 220 },
  24. { 84*OVERSAMPLENR , 215 },
  25. { 92*OVERSAMPLENR , 210 },
  26. { 100*OVERSAMPLENR , 205 },
  27. { 109*OVERSAMPLENR , 200 },
  28. { 120*OVERSAMPLENR , 195 },
  29. { 131*OVERSAMPLENR , 190 },
  30. { 143*OVERSAMPLENR , 185 },
  31. { 156*OVERSAMPLENR , 180 },
  32. { 171*OVERSAMPLENR , 175 },
  33. { 187*OVERSAMPLENR , 170 },
  34. { 205*OVERSAMPLENR , 165 },
  35. { 224*OVERSAMPLENR , 160 },
  36. { 245*OVERSAMPLENR , 155 },
  37. { 268*OVERSAMPLENR , 150 },
  38. { 293*OVERSAMPLENR , 145 },
  39. { 320*OVERSAMPLENR , 140 },
  40. { 348*OVERSAMPLENR , 135 },
  41. { 379*OVERSAMPLENR , 130 },
  42. { 411*OVERSAMPLENR , 125 },
  43. { 445*OVERSAMPLENR , 120 },
  44. { 480*OVERSAMPLENR , 115 },
  45. { 516*OVERSAMPLENR , 110 },
  46. { 553*OVERSAMPLENR , 105 },
  47. { 591*OVERSAMPLENR , 100 },
  48. { 628*OVERSAMPLENR , 95 },
  49. { 665*OVERSAMPLENR , 90 },
  50. { 702*OVERSAMPLENR , 85 },
  51. { 737*OVERSAMPLENR , 80 },
  52. { 770*OVERSAMPLENR , 75 },
  53. { 801*OVERSAMPLENR , 70 },
  54. { 830*OVERSAMPLENR , 65 },
  55. { 857*OVERSAMPLENR , 60 },
  56. { 881*OVERSAMPLENR , 55 },
  57. { 903*OVERSAMPLENR , 50 },
  58. { 922*OVERSAMPLENR , 45 },
  59. { 939*OVERSAMPLENR , 40 },
  60. { 954*OVERSAMPLENR , 35 },
  61. { 966*OVERSAMPLENR , 30 },
  62. { 977*OVERSAMPLENR , 25 },
  63. { 985*OVERSAMPLENR , 20 },
  64. { 993*OVERSAMPLENR , 15 },
  65. { 999*OVERSAMPLENR , 10 },
  66. { 1004*OVERSAMPLENR , 5 },
  67. { 1008*OVERSAMPLENR , 0 } //safety
  68. };
  69. #endif
  70. #if (THERMISTORHEATER_0 == 2) || (THERMISTORHEATER_1 == 2) || (THERMISTORHEATER_2 == 2) || (THERMISTORBED == 2) //200k bed thermistor
  71. const short temptable_2[][2] PROGMEM = {
  72. //200k ATC Semitec 204GT-2
  73. //Verified by linagee. Source: http://shop.arcol.hu/static/datasheets/thermistors.pdf
  74. // Calculated using 4.7kohm pullup, voltage divider math, and manufacturer provided temp/resistance
  75. {1*OVERSAMPLENR, 848},
  76. {30*OVERSAMPLENR, 300}, //top rating 300C
  77. {34*OVERSAMPLENR, 290},
  78. {39*OVERSAMPLENR, 280},
  79. {46*OVERSAMPLENR, 270},
  80. {53*OVERSAMPLENR, 260},
  81. {63*OVERSAMPLENR, 250},
  82. {74*OVERSAMPLENR, 240},
  83. {87*OVERSAMPLENR, 230},
  84. {104*OVERSAMPLENR, 220},
  85. {124*OVERSAMPLENR, 210},
  86. {148*OVERSAMPLENR, 200},
  87. {176*OVERSAMPLENR, 190},
  88. {211*OVERSAMPLENR, 180},
  89. {252*OVERSAMPLENR, 170},
  90. {301*OVERSAMPLENR, 160},
  91. {357*OVERSAMPLENR, 150},
  92. {420*OVERSAMPLENR, 140},
  93. {489*OVERSAMPLENR, 130},
  94. {562*OVERSAMPLENR, 120},
  95. {636*OVERSAMPLENR, 110},
  96. {708*OVERSAMPLENR, 100},
  97. {775*OVERSAMPLENR, 90},
  98. {835*OVERSAMPLENR, 80},
  99. {884*OVERSAMPLENR, 70},
  100. {924*OVERSAMPLENR, 60},
  101. {955*OVERSAMPLENR, 50},
  102. {977*OVERSAMPLENR, 40},
  103. {993*OVERSAMPLENR, 30},
  104. {1004*OVERSAMPLENR, 20},
  105. {1012*OVERSAMPLENR, 10},
  106. {1016*OVERSAMPLENR, 0},
  107. };
  108. #endif
  109. #if (THERMISTORHEATER_0 == 3) || (THERMISTORHEATER_1 == 3) || (THERMISTORHEATER_2 == 3) || (THERMISTORBED == 3) //mendel-parts
  110. const short temptable_3[][2] PROGMEM = {
  111. {1*OVERSAMPLENR,864},
  112. {21*OVERSAMPLENR,300},
  113. {25*OVERSAMPLENR,290},
  114. {29*OVERSAMPLENR,280},
  115. {33*OVERSAMPLENR,270},
  116. {39*OVERSAMPLENR,260},
  117. {46*OVERSAMPLENR,250},
  118. {54*OVERSAMPLENR,240},
  119. {64*OVERSAMPLENR,230},
  120. {75*OVERSAMPLENR,220},
  121. {90*OVERSAMPLENR,210},
  122. {107*OVERSAMPLENR,200},
  123. {128*OVERSAMPLENR,190},
  124. {154*OVERSAMPLENR,180},
  125. {184*OVERSAMPLENR,170},
  126. {221*OVERSAMPLENR,160},
  127. {265*OVERSAMPLENR,150},
  128. {316*OVERSAMPLENR,140},
  129. {375*OVERSAMPLENR,130},
  130. {441*OVERSAMPLENR,120},
  131. {513*OVERSAMPLENR,110},
  132. {588*OVERSAMPLENR,100},
  133. {734*OVERSAMPLENR,80},
  134. {856*OVERSAMPLENR,60},
  135. {938*OVERSAMPLENR,40},
  136. {986*OVERSAMPLENR,20},
  137. {1008*OVERSAMPLENR,0},
  138. {1018*OVERSAMPLENR,-20}
  139. };
  140. #endif
  141. #if (THERMISTORHEATER_0 == 4) || (THERMISTORHEATER_1 == 4) || (THERMISTORHEATER_2 == 4) || (THERMISTORBED == 4) //10k thermistor
  142. const short temptable_4[][2] PROGMEM = {
  143. {1*OVERSAMPLENR, 430},
  144. {54*OVERSAMPLENR, 137},
  145. {107*OVERSAMPLENR, 107},
  146. {160*OVERSAMPLENR, 91},
  147. {213*OVERSAMPLENR, 80},
  148. {266*OVERSAMPLENR, 71},
  149. {319*OVERSAMPLENR, 64},
  150. {372*OVERSAMPLENR, 57},
  151. {425*OVERSAMPLENR, 51},
  152. {478*OVERSAMPLENR, 46},
  153. {531*OVERSAMPLENR, 41},
  154. {584*OVERSAMPLENR, 35},
  155. {637*OVERSAMPLENR, 30},
  156. {690*OVERSAMPLENR, 25},
  157. {743*OVERSAMPLENR, 20},
  158. {796*OVERSAMPLENR, 14},
  159. {849*OVERSAMPLENR, 7},
  160. {902*OVERSAMPLENR, 0},
  161. {955*OVERSAMPLENR, -11},
  162. {1008*OVERSAMPLENR, -35}
  163. };
  164. #endif
  165. #if (THERMISTORHEATER_0 == 5) || (THERMISTORHEATER_1 == 5) || (THERMISTORHEATER_2 == 5) || (THERMISTORBED == 5) //100k ParCan thermistor (104GT-2)
  166. const short temptable_5[][2] PROGMEM = {
  167. // ATC Semitec 104GT-2 (Used in ParCan)
  168. // Verified by linagee. Source: http://shop.arcol.hu/static/datasheets/thermistors.pdf
  169. // Calculated using 4.7kohm pullup, voltage divider math, and manufacturer provided temp/resistance
  170. {1*OVERSAMPLENR, 713},
  171. {17*OVERSAMPLENR, 300}, //top rating 300C
  172. {20*OVERSAMPLENR, 290},
  173. {23*OVERSAMPLENR, 280},
  174. {27*OVERSAMPLENR, 270},
  175. {31*OVERSAMPLENR, 260},
  176. {37*OVERSAMPLENR, 250},
  177. {43*OVERSAMPLENR, 240},
  178. {51*OVERSAMPLENR, 230},
  179. {61*OVERSAMPLENR, 220},
  180. {73*OVERSAMPLENR, 210},
  181. {87*OVERSAMPLENR, 200},
  182. {106*OVERSAMPLENR, 190},
  183. {128*OVERSAMPLENR, 180},
  184. {155*OVERSAMPLENR, 170},
  185. {189*OVERSAMPLENR, 160},
  186. {230*OVERSAMPLENR, 150},
  187. {278*OVERSAMPLENR, 140},
  188. {336*OVERSAMPLENR, 130},
  189. {402*OVERSAMPLENR, 120},
  190. {476*OVERSAMPLENR, 110},
  191. {554*OVERSAMPLENR, 100},
  192. {635*OVERSAMPLENR, 90},
  193. {713*OVERSAMPLENR, 80},
  194. {784*OVERSAMPLENR, 70},
  195. {846*OVERSAMPLENR, 60},
  196. {897*OVERSAMPLENR, 50},
  197. {937*OVERSAMPLENR, 40},
  198. {966*OVERSAMPLENR, 30},
  199. {986*OVERSAMPLENR, 20},
  200. {1000*OVERSAMPLENR, 10},
  201. {1010*OVERSAMPLENR, 0}
  202. };
  203. #endif
  204. #if (THERMISTORHEATER_0 == 6) || (THERMISTORHEATER_1 == 6) || (THERMISTORHEATER_2 == 6) || (THERMISTORBED == 6) // 100k Epcos thermistor
  205. const short temptable_6[][2] PROGMEM = {
  206. {1*OVERSAMPLENR, 350},
  207. {28*OVERSAMPLENR, 250}, //top rating 250C
  208. {31*OVERSAMPLENR, 245},
  209. {35*OVERSAMPLENR, 240},
  210. {39*OVERSAMPLENR, 235},
  211. {42*OVERSAMPLENR, 230},
  212. {44*OVERSAMPLENR, 225},
  213. {49*OVERSAMPLENR, 220},
  214. {53*OVERSAMPLENR, 215},
  215. {62*OVERSAMPLENR, 210},
  216. {71*OVERSAMPLENR, 205}, //fitted graphically
  217. {78*OVERSAMPLENR, 200}, //fitted graphically
  218. {94*OVERSAMPLENR, 190},
  219. {102*OVERSAMPLENR, 185},
  220. {116*OVERSAMPLENR, 170},
  221. {143*OVERSAMPLENR, 160},
  222. {183*OVERSAMPLENR, 150},
  223. {223*OVERSAMPLENR, 140},
  224. {270*OVERSAMPLENR, 130},
  225. {318*OVERSAMPLENR, 120},
  226. {383*OVERSAMPLENR, 110},
  227. {413*OVERSAMPLENR, 105},
  228. {439*OVERSAMPLENR, 100},
  229. {484*OVERSAMPLENR, 95},
  230. {513*OVERSAMPLENR, 90},
  231. {607*OVERSAMPLENR, 80},
  232. {664*OVERSAMPLENR, 70},
  233. {781*OVERSAMPLENR, 60},
  234. {810*OVERSAMPLENR, 55},
  235. {849*OVERSAMPLENR, 50},
  236. {914*OVERSAMPLENR, 45},
  237. {914*OVERSAMPLENR, 40},
  238. {935*OVERSAMPLENR, 35},
  239. {954*OVERSAMPLENR, 30},
  240. {970*OVERSAMPLENR, 25},
  241. {978*OVERSAMPLENR, 22},
  242. {1008*OVERSAMPLENR, 3},
  243. {1023*OVERSAMPLENR, 0} //to allow internal 0 degrees C
  244. };
  245. #endif
  246. #if (THERMISTORHEATER_0 == 7) || (THERMISTORHEATER_1 == 7) || (THERMISTORHEATER_2 == 7) || (THERMISTORBED == 7) // 100k Honeywell 135-104LAG-J01
  247. const short temptable_7[][2] PROGMEM = {
  248. {1*OVERSAMPLENR, 941},
  249. {19*OVERSAMPLENR, 362},
  250. {37*OVERSAMPLENR, 299}, //top rating 300C
  251. {55*OVERSAMPLENR, 266},
  252. {73*OVERSAMPLENR, 245},
  253. {91*OVERSAMPLENR, 229},
  254. {109*OVERSAMPLENR, 216},
  255. {127*OVERSAMPLENR, 206},
  256. {145*OVERSAMPLENR, 197},
  257. {163*OVERSAMPLENR, 190},
  258. {181*OVERSAMPLENR, 183},
  259. {199*OVERSAMPLENR, 177},
  260. {217*OVERSAMPLENR, 171},
  261. {235*OVERSAMPLENR, 166},
  262. {253*OVERSAMPLENR, 162},
  263. {271*OVERSAMPLENR, 157},
  264. {289*OVERSAMPLENR, 153},
  265. {307*OVERSAMPLENR, 149},
  266. {325*OVERSAMPLENR, 146},
  267. {343*OVERSAMPLENR, 142},
  268. {361*OVERSAMPLENR, 139},
  269. {379*OVERSAMPLENR, 135},
  270. {397*OVERSAMPLENR, 132},
  271. {415*OVERSAMPLENR, 129},
  272. {433*OVERSAMPLENR, 126},
  273. {451*OVERSAMPLENR, 123},
  274. {469*OVERSAMPLENR, 121},
  275. {487*OVERSAMPLENR, 118},
  276. {505*OVERSAMPLENR, 115},
  277. {523*OVERSAMPLENR, 112},
  278. {541*OVERSAMPLENR, 110},
  279. {559*OVERSAMPLENR, 107},
  280. {577*OVERSAMPLENR, 105},
  281. {595*OVERSAMPLENR, 102},
  282. {613*OVERSAMPLENR, 99},
  283. {631*OVERSAMPLENR, 97},
  284. {649*OVERSAMPLENR, 94},
  285. {667*OVERSAMPLENR, 92},
  286. {685*OVERSAMPLENR, 89},
  287. {703*OVERSAMPLENR, 86},
  288. {721*OVERSAMPLENR, 84},
  289. {739*OVERSAMPLENR, 81},
  290. {757*OVERSAMPLENR, 78},
  291. {775*OVERSAMPLENR, 75},
  292. {793*OVERSAMPLENR, 72},
  293. {811*OVERSAMPLENR, 69},
  294. {829*OVERSAMPLENR, 66},
  295. {847*OVERSAMPLENR, 62},
  296. {865*OVERSAMPLENR, 59},
  297. {883*OVERSAMPLENR, 55},
  298. {901*OVERSAMPLENR, 51},
  299. {919*OVERSAMPLENR, 46},
  300. {937*OVERSAMPLENR, 41},
  301. {955*OVERSAMPLENR, 35},
  302. {973*OVERSAMPLENR, 27},
  303. {991*OVERSAMPLENR, 17},
  304. {1009*OVERSAMPLENR, 1},
  305. {1023*OVERSAMPLENR, 0} //to allow internal 0 degrees C
  306. };
  307. #endif
  308. #if (THERMISTORHEATER_0 == 71) || (THERMISTORHEATER_1 == 71) || (THERMISTORHEATER_2 == 71) || (THERMISTORBED == 71) // 100k Honeywell 135-104LAF-J01
  309. // R0 = 100000 Ohm
  310. // T0 = 25 °C
  311. // Beta = 3974
  312. // R1 = 0 Ohm
  313. // R2 = 4700 Ohm
  314. const short temptable_71[][2] PROGMEM = {
  315. {35*OVERSAMPLENR, 300},
  316. {51*OVERSAMPLENR, 270},
  317. {54*OVERSAMPLENR, 265},
  318. {58*OVERSAMPLENR, 260},
  319. {59*OVERSAMPLENR, 258},
  320. {61*OVERSAMPLENR, 256},
  321. {63*OVERSAMPLENR, 254},
  322. {64*OVERSAMPLENR, 252},
  323. {66*OVERSAMPLENR, 250},
  324. {67*OVERSAMPLENR, 249},
  325. {68*OVERSAMPLENR, 248},
  326. {69*OVERSAMPLENR, 247},
  327. {70*OVERSAMPLENR, 246},
  328. {71*OVERSAMPLENR, 245},
  329. {72*OVERSAMPLENR, 244},
  330. {73*OVERSAMPLENR, 243},
  331. {74*OVERSAMPLENR, 242},
  332. {75*OVERSAMPLENR, 241},
  333. {76*OVERSAMPLENR, 240},
  334. {77*OVERSAMPLENR, 239},
  335. {78*OVERSAMPLENR, 238},
  336. {79*OVERSAMPLENR, 237},
  337. {80*OVERSAMPLENR, 236},
  338. {81*OVERSAMPLENR, 235},
  339. {82*OVERSAMPLENR, 234},
  340. {84*OVERSAMPLENR, 233},
  341. {85*OVERSAMPLENR, 232},
  342. {86*OVERSAMPLENR, 231},
  343. {87*OVERSAMPLENR, 230},
  344. {89*OVERSAMPLENR, 229},
  345. {90*OVERSAMPLENR, 228},
  346. {91*OVERSAMPLENR, 227},
  347. {92*OVERSAMPLENR, 226},
  348. {94*OVERSAMPLENR, 225},
  349. {95*OVERSAMPLENR, 224},
  350. {97*OVERSAMPLENR, 223},
  351. {98*OVERSAMPLENR, 222},
  352. {99*OVERSAMPLENR, 221},
  353. {101*OVERSAMPLENR, 220},
  354. {102*OVERSAMPLENR, 219},
  355. {104*OVERSAMPLENR, 218},
  356. {106*OVERSAMPLENR, 217},
  357. {107*OVERSAMPLENR, 216},
  358. {109*OVERSAMPLENR, 215},
  359. {110*OVERSAMPLENR, 214},
  360. {112*OVERSAMPLENR, 213},
  361. {114*OVERSAMPLENR, 212},
  362. {115*OVERSAMPLENR, 211},
  363. {117*OVERSAMPLENR, 210},
  364. {119*OVERSAMPLENR, 209},
  365. {121*OVERSAMPLENR, 208},
  366. {123*OVERSAMPLENR, 207},
  367. {125*OVERSAMPLENR, 206},
  368. {126*OVERSAMPLENR, 205},
  369. {128*OVERSAMPLENR, 204},
  370. {130*OVERSAMPLENR, 203},
  371. {132*OVERSAMPLENR, 202},
  372. {134*OVERSAMPLENR, 201},
  373. {136*OVERSAMPLENR, 200},
  374. {139*OVERSAMPLENR, 199},
  375. {141*OVERSAMPLENR, 198},
  376. {143*OVERSAMPLENR, 197},
  377. {145*OVERSAMPLENR, 196},
  378. {147*OVERSAMPLENR, 195},
  379. {150*OVERSAMPLENR, 194},
  380. {152*OVERSAMPLENR, 193},
  381. {154*OVERSAMPLENR, 192},
  382. {157*OVERSAMPLENR, 191},
  383. {159*OVERSAMPLENR, 190},
  384. {162*OVERSAMPLENR, 189},
  385. {164*OVERSAMPLENR, 188},
  386. {167*OVERSAMPLENR, 187},
  387. {170*OVERSAMPLENR, 186},
  388. {172*OVERSAMPLENR, 185},
  389. {175*OVERSAMPLENR, 184},
  390. {178*OVERSAMPLENR, 183},
  391. {181*OVERSAMPLENR, 182},
  392. {184*OVERSAMPLENR, 181},
  393. {187*OVERSAMPLENR, 180},
  394. {190*OVERSAMPLENR, 179},
  395. {193*OVERSAMPLENR, 178},
  396. {196*OVERSAMPLENR, 177},
  397. {199*OVERSAMPLENR, 176},
  398. {202*OVERSAMPLENR, 175},
  399. {205*OVERSAMPLENR, 174},
  400. {208*OVERSAMPLENR, 173},
  401. {212*OVERSAMPLENR, 172},
  402. {215*OVERSAMPLENR, 171},
  403. {219*OVERSAMPLENR, 170},
  404. {237*OVERSAMPLENR, 165},
  405. {256*OVERSAMPLENR, 160},
  406. {300*OVERSAMPLENR, 150},
  407. {351*OVERSAMPLENR, 140},
  408. {470*OVERSAMPLENR, 120},
  409. {504*OVERSAMPLENR, 115},
  410. {538*OVERSAMPLENR, 110},
  411. {552*OVERSAMPLENR, 108},
  412. {566*OVERSAMPLENR, 106},
  413. {580*OVERSAMPLENR, 104},
  414. {594*OVERSAMPLENR, 102},
  415. {608*OVERSAMPLENR, 100},
  416. {622*OVERSAMPLENR, 98},
  417. {636*OVERSAMPLENR, 96},
  418. {650*OVERSAMPLENR, 94},
  419. {664*OVERSAMPLENR, 92},
  420. {678*OVERSAMPLENR, 90},
  421. {712*OVERSAMPLENR, 85},
  422. {745*OVERSAMPLENR, 80},
  423. {758*OVERSAMPLENR, 78},
  424. {770*OVERSAMPLENR, 76},
  425. {783*OVERSAMPLENR, 74},
  426. {795*OVERSAMPLENR, 72},
  427. {806*OVERSAMPLENR, 70},
  428. {818*OVERSAMPLENR, 68},
  429. {829*OVERSAMPLENR, 66},
  430. {840*OVERSAMPLENR, 64},
  431. {850*OVERSAMPLENR, 62},
  432. {860*OVERSAMPLENR, 60},
  433. {870*OVERSAMPLENR, 58},
  434. {879*OVERSAMPLENR, 56},
  435. {888*OVERSAMPLENR, 54},
  436. {897*OVERSAMPLENR, 52},
  437. {905*OVERSAMPLENR, 50},
  438. {924*OVERSAMPLENR, 45},
  439. {940*OVERSAMPLENR, 40},
  440. {955*OVERSAMPLENR, 35},
  441. {967*OVERSAMPLENR, 30},
  442. {970*OVERSAMPLENR, 29},
  443. {972*OVERSAMPLENR, 28},
  444. {974*OVERSAMPLENR, 27},
  445. {976*OVERSAMPLENR, 26},
  446. {978*OVERSAMPLENR, 25},
  447. {980*OVERSAMPLENR, 24},
  448. {982*OVERSAMPLENR, 23},
  449. {984*OVERSAMPLENR, 22},
  450. {985*OVERSAMPLENR, 21},
  451. {987*OVERSAMPLENR, 20},
  452. {995*OVERSAMPLENR, 15},
  453. {1001*OVERSAMPLENR, 10},
  454. {1006*OVERSAMPLENR, 5},
  455. {1010*OVERSAMPLENR, 0},
  456. };
  457. #endif
  458. #if (THERMISTORHEATER_0 == 8) || (THERMISTORHEATER_1 == 8) || (THERMISTORHEATER_2 == 8) || (THERMISTORBED == 8)
  459. // 100k 0603 SMD Vishay NTCS0603E3104FXT (4.7k pullup)
  460. const short temptable_8[][2] PROGMEM = {
  461. {1*OVERSAMPLENR, 704},
  462. {54*OVERSAMPLENR, 216},
  463. {107*OVERSAMPLENR, 175},
  464. {160*OVERSAMPLENR, 152},
  465. {213*OVERSAMPLENR, 137},
  466. {266*OVERSAMPLENR, 125},
  467. {319*OVERSAMPLENR, 115},
  468. {372*OVERSAMPLENR, 106},
  469. {425*OVERSAMPLENR, 99},
  470. {478*OVERSAMPLENR, 91},
  471. {531*OVERSAMPLENR, 85},
  472. {584*OVERSAMPLENR, 78},
  473. {637*OVERSAMPLENR, 71},
  474. {690*OVERSAMPLENR, 65},
  475. {743*OVERSAMPLENR, 58},
  476. {796*OVERSAMPLENR, 50},
  477. {849*OVERSAMPLENR, 42},
  478. {902*OVERSAMPLENR, 31},
  479. {955*OVERSAMPLENR, 17},
  480. {1008*OVERSAMPLENR, 0}
  481. };
  482. #endif
  483. #if (THERMISTORHEATER_0 == 9) || (THERMISTORHEATER_1 == 9) || (THERMISTORHEATER_2 == 9) || (THERMISTORBED == 9)
  484. // 100k GE Sensing AL03006-58.2K-97-G1 (4.7k pullup)
  485. const short temptable_9[][2] PROGMEM = {
  486. {1*OVERSAMPLENR, 936},
  487. {36*OVERSAMPLENR, 300},
  488. {71*OVERSAMPLENR, 246},
  489. {106*OVERSAMPLENR, 218},
  490. {141*OVERSAMPLENR, 199},
  491. {176*OVERSAMPLENR, 185},
  492. {211*OVERSAMPLENR, 173},
  493. {246*OVERSAMPLENR, 163},
  494. {281*OVERSAMPLENR, 155},
  495. {316*OVERSAMPLENR, 147},
  496. {351*OVERSAMPLENR, 140},
  497. {386*OVERSAMPLENR, 134},
  498. {421*OVERSAMPLENR, 128},
  499. {456*OVERSAMPLENR, 122},
  500. {491*OVERSAMPLENR, 117},
  501. {526*OVERSAMPLENR, 112},
  502. {561*OVERSAMPLENR, 107},
  503. {596*OVERSAMPLENR, 102},
  504. {631*OVERSAMPLENR, 97},
  505. {666*OVERSAMPLENR, 92},
  506. {701*OVERSAMPLENR, 87},
  507. {736*OVERSAMPLENR, 81},
  508. {771*OVERSAMPLENR, 76},
  509. {806*OVERSAMPLENR, 70},
  510. {841*OVERSAMPLENR, 63},
  511. {876*OVERSAMPLENR, 56},
  512. {911*OVERSAMPLENR, 48},
  513. {946*OVERSAMPLENR, 38},
  514. {981*OVERSAMPLENR, 23},
  515. {1005*OVERSAMPLENR, 5},
  516. {1016*OVERSAMPLENR, 0}
  517. };
  518. #endif
  519. #if (THERMISTORHEATER_0 == 10) || (THERMISTORHEATER_1 == 10) || (THERMISTORHEATER_2 == 10) || (THERMISTORBED == 10)
  520. // 100k RS thermistor 198-961 (4.7k pullup)
  521. const short temptable_10[][2] PROGMEM = {
  522. {1*OVERSAMPLENR, 929},
  523. {36*OVERSAMPLENR, 299},
  524. {71*OVERSAMPLENR, 246},
  525. {106*OVERSAMPLENR, 217},
  526. {141*OVERSAMPLENR, 198},
  527. {176*OVERSAMPLENR, 184},
  528. {211*OVERSAMPLENR, 173},
  529. {246*OVERSAMPLENR, 163},
  530. {281*OVERSAMPLENR, 154},
  531. {316*OVERSAMPLENR, 147},
  532. {351*OVERSAMPLENR, 140},
  533. {386*OVERSAMPLENR, 134},
  534. {421*OVERSAMPLENR, 128},
  535. {456*OVERSAMPLENR, 122},
  536. {491*OVERSAMPLENR, 117},
  537. {526*OVERSAMPLENR, 112},
  538. {561*OVERSAMPLENR, 107},
  539. {596*OVERSAMPLENR, 102},
  540. {631*OVERSAMPLENR, 97},
  541. {666*OVERSAMPLENR, 91},
  542. {701*OVERSAMPLENR, 86},
  543. {736*OVERSAMPLENR, 81},
  544. {771*OVERSAMPLENR, 76},
  545. {806*OVERSAMPLENR, 70},
  546. {841*OVERSAMPLENR, 63},
  547. {876*OVERSAMPLENR, 56},
  548. {911*OVERSAMPLENR, 48},
  549. {946*OVERSAMPLENR, 38},
  550. {981*OVERSAMPLENR, 23},
  551. {1005*OVERSAMPLENR, 5},
  552. {1016*OVERSAMPLENR, 0}
  553. };
  554. #endif
  555. #if (THERMISTORHEATER_0 == 51) || (THERMISTORHEATER_1 == 51) || (THERMISTORHEATER_2 == 51) || (THERMISTORBED == 51)
  556. // 100k EPCOS (WITH 1kohm RESISTOR FOR PULLUP, R9 ON SANGUINOLOLU! NOT FOR 4.7kohm PULLUP! THIS IS NOT NORMAL!)
  557. // Verified by linagee.
  558. // Calculated using 1kohm pullup, voltage divider math, and manufacturer provided temp/resistance
  559. // Advantage: Twice the resolution and better linearity from 150C to 200C
  560. const short temptable_51[][2] PROGMEM = {
  561. {1*OVERSAMPLENR, 350},
  562. {190*OVERSAMPLENR, 250}, //top rating 250C
  563. {203*OVERSAMPLENR, 245},
  564. {217*OVERSAMPLENR, 240},
  565. {232*OVERSAMPLENR, 235},
  566. {248*OVERSAMPLENR, 230},
  567. {265*OVERSAMPLENR, 225},
  568. {283*OVERSAMPLENR, 220},
  569. {302*OVERSAMPLENR, 215},
  570. {322*OVERSAMPLENR, 210},
  571. {344*OVERSAMPLENR, 205},
  572. {366*OVERSAMPLENR, 200},
  573. {390*OVERSAMPLENR, 195},
  574. {415*OVERSAMPLENR, 190},
  575. {440*OVERSAMPLENR, 185},
  576. {467*OVERSAMPLENR, 180},
  577. {494*OVERSAMPLENR, 175},
  578. {522*OVERSAMPLENR, 170},
  579. {551*OVERSAMPLENR, 165},
  580. {580*OVERSAMPLENR, 160},
  581. {609*OVERSAMPLENR, 155},
  582. {638*OVERSAMPLENR, 150},
  583. {666*OVERSAMPLENR, 145},
  584. {695*OVERSAMPLENR, 140},
  585. {722*OVERSAMPLENR, 135},
  586. {749*OVERSAMPLENR, 130},
  587. {775*OVERSAMPLENR, 125},
  588. {800*OVERSAMPLENR, 120},
  589. {823*OVERSAMPLENR, 115},
  590. {845*OVERSAMPLENR, 110},
  591. {865*OVERSAMPLENR, 105},
  592. {884*OVERSAMPLENR, 100},
  593. {901*OVERSAMPLENR, 95},
  594. {917*OVERSAMPLENR, 90},
  595. {932*OVERSAMPLENR, 85},
  596. {944*OVERSAMPLENR, 80},
  597. {956*OVERSAMPLENR, 75},
  598. {966*OVERSAMPLENR, 70},
  599. {975*OVERSAMPLENR, 65},
  600. {982*OVERSAMPLENR, 60},
  601. {989*OVERSAMPLENR, 55},
  602. {995*OVERSAMPLENR, 50},
  603. {1000*OVERSAMPLENR, 45},
  604. {1004*OVERSAMPLENR, 40},
  605. {1007*OVERSAMPLENR, 35},
  606. {1010*OVERSAMPLENR, 30},
  607. {1013*OVERSAMPLENR, 25},
  608. {1015*OVERSAMPLENR, 20},
  609. {1017*OVERSAMPLENR, 15},
  610. {1018*OVERSAMPLENR, 10},
  611. {1019*OVERSAMPLENR, 5},
  612. {1020*OVERSAMPLENR, 0},
  613. {1021*OVERSAMPLENR, -5}
  614. };
  615. #endif
  616. #if (THERMISTORHEATER_0 == 52) || (THERMISTORHEATER_1 == 52) || (THERMISTORHEATER_2 == 52) || (THERMISTORBED == 52)
  617. // 200k ATC Semitec 204GT-2 (WITH 1kohm RESISTOR FOR PULLUP, R9 ON SANGUINOLOLU! NOT FOR 4.7kohm PULLUP! THIS IS NOT NORMAL!)
  618. // Verified by linagee. Source: http://shop.arcol.hu/static/datasheets/thermistors.pdf
  619. // Calculated using 1kohm pullup, voltage divider math, and manufacturer provided temp/resistance
  620. // Advantage: More resolution and better linearity from 150C to 200C
  621. const short temptable_52[][2] PROGMEM = {
  622. {1*OVERSAMPLENR, 500},
  623. {125*OVERSAMPLENR, 300}, //top rating 300C
  624. {142*OVERSAMPLENR, 290},
  625. {162*OVERSAMPLENR, 280},
  626. {185*OVERSAMPLENR, 270},
  627. {211*OVERSAMPLENR, 260},
  628. {240*OVERSAMPLENR, 250},
  629. {274*OVERSAMPLENR, 240},
  630. {312*OVERSAMPLENR, 230},
  631. {355*OVERSAMPLENR, 220},
  632. {401*OVERSAMPLENR, 210},
  633. {452*OVERSAMPLENR, 200},
  634. {506*OVERSAMPLENR, 190},
  635. {563*OVERSAMPLENR, 180},
  636. {620*OVERSAMPLENR, 170},
  637. {677*OVERSAMPLENR, 160},
  638. {732*OVERSAMPLENR, 150},
  639. {783*OVERSAMPLENR, 140},
  640. {830*OVERSAMPLENR, 130},
  641. {871*OVERSAMPLENR, 120},
  642. {906*OVERSAMPLENR, 110},
  643. {935*OVERSAMPLENR, 100},
  644. {958*OVERSAMPLENR, 90},
  645. {976*OVERSAMPLENR, 80},
  646. {990*OVERSAMPLENR, 70},
  647. {1000*OVERSAMPLENR, 60},
  648. {1008*OVERSAMPLENR, 50},
  649. {1013*OVERSAMPLENR, 40},
  650. {1017*OVERSAMPLENR, 30},
  651. {1019*OVERSAMPLENR, 20},
  652. {1021*OVERSAMPLENR, 10},
  653. {1022*OVERSAMPLENR, 0}
  654. };
  655. #endif
  656. #if (THERMISTORHEATER_0 == 55) || (THERMISTORHEATER_1 == 55) || (THERMISTORHEATER_2 == 55) || (THERMISTORBED == 55)
  657. // 100k ATC Semitec 104GT-2 (Used on ParCan) (WITH 1kohm RESISTOR FOR PULLUP, R9 ON SANGUINOLOLU! NOT FOR 4.7kohm PULLUP! THIS IS NOT NORMAL!)
  658. // Verified by linagee. Source: http://shop.arcol.hu/static/datasheets/thermistors.pdf
  659. // Calculated using 1kohm pullup, voltage divider math, and manufacturer provided temp/resistance
  660. // Advantage: More resolution and better linearity from 150C to 200C
  661. const short temptable_55[][2] PROGMEM = {
  662. {1*OVERSAMPLENR, 500},
  663. {76*OVERSAMPLENR, 300},
  664. {87*OVERSAMPLENR, 290},
  665. {100*OVERSAMPLENR, 280},
  666. {114*OVERSAMPLENR, 270},
  667. {131*OVERSAMPLENR, 260},
  668. {152*OVERSAMPLENR, 250},
  669. {175*OVERSAMPLENR, 240},
  670. {202*OVERSAMPLENR, 230},
  671. {234*OVERSAMPLENR, 220},
  672. {271*OVERSAMPLENR, 210},
  673. {312*OVERSAMPLENR, 200},
  674. {359*OVERSAMPLENR, 190},
  675. {411*OVERSAMPLENR, 180},
  676. {467*OVERSAMPLENR, 170},
  677. {527*OVERSAMPLENR, 160},
  678. {590*OVERSAMPLENR, 150},
  679. {652*OVERSAMPLENR, 140},
  680. {713*OVERSAMPLENR, 130},
  681. {770*OVERSAMPLENR, 120},
  682. {822*OVERSAMPLENR, 110},
  683. {867*OVERSAMPLENR, 100},
  684. {905*OVERSAMPLENR, 90},
  685. {936*OVERSAMPLENR, 80},
  686. {961*OVERSAMPLENR, 70},
  687. {979*OVERSAMPLENR, 60},
  688. {993*OVERSAMPLENR, 50},
  689. {1003*OVERSAMPLENR, 40},
  690. {1010*OVERSAMPLENR, 30},
  691. {1015*OVERSAMPLENR, 20},
  692. {1018*OVERSAMPLENR, 10},
  693. {1020*OVERSAMPLENR, 0}
  694. };
  695. #endif
  696. #if (THERMISTORHEATER_0 == 60) || (THERMISTORHEATER_1 == 60) || (THERMISTORHEATER_2 == 60) || (THERMISTORBED == 60) // Maker's Tool Works Kapton Bed Thermister
  697. const short temptable_60[][2] PROGMEM = {
  698. {51*OVERSAMPLENR, 272},
  699. {61*OVERSAMPLENR, 258},
  700. {71*OVERSAMPLENR, 247},
  701. {81*OVERSAMPLENR, 237},
  702. {91*OVERSAMPLENR, 229},
  703. {101*OVERSAMPLENR, 221},
  704. {131*OVERSAMPLENR, 204},
  705. {161*OVERSAMPLENR, 190},
  706. {191*OVERSAMPLENR, 179},
  707. {231*OVERSAMPLENR, 167},
  708. {271*OVERSAMPLENR, 157},
  709. {311*OVERSAMPLENR, 148},
  710. {351*OVERSAMPLENR, 140},
  711. {381*OVERSAMPLENR, 135},
  712. {411*OVERSAMPLENR, 130},
  713. {441*OVERSAMPLENR, 125},
  714. {451*OVERSAMPLENR, 123},
  715. {461*OVERSAMPLENR, 122},
  716. {471*OVERSAMPLENR, 120},
  717. {481*OVERSAMPLENR, 119},
  718. {491*OVERSAMPLENR, 117},
  719. {501*OVERSAMPLENR, 116},
  720. {511*OVERSAMPLENR, 114},
  721. {521*OVERSAMPLENR, 113},
  722. {531*OVERSAMPLENR, 111},
  723. {541*OVERSAMPLENR, 110},
  724. {551*OVERSAMPLENR, 108},
  725. {561*OVERSAMPLENR, 107},
  726. {571*OVERSAMPLENR, 105},
  727. {581*OVERSAMPLENR, 104},
  728. {591*OVERSAMPLENR, 102},
  729. {601*OVERSAMPLENR, 101},
  730. {611*OVERSAMPLENR, 100},
  731. {621*OVERSAMPLENR, 98},
  732. {631*OVERSAMPLENR, 97},
  733. {641*OVERSAMPLENR, 95},
  734. {651*OVERSAMPLENR, 94},
  735. {661*OVERSAMPLENR, 92},
  736. {671*OVERSAMPLENR, 91},
  737. {681*OVERSAMPLENR, 90},
  738. {691*OVERSAMPLENR, 88},
  739. {701*OVERSAMPLENR, 87},
  740. {711*OVERSAMPLENR, 85},
  741. {721*OVERSAMPLENR, 84},
  742. {731*OVERSAMPLENR, 82},
  743. {741*OVERSAMPLENR, 81},
  744. {751*OVERSAMPLENR, 79},
  745. {761*OVERSAMPLENR, 77},
  746. {771*OVERSAMPLENR, 76},
  747. {781*OVERSAMPLENR, 74},
  748. {791*OVERSAMPLENR, 72},
  749. {801*OVERSAMPLENR, 71},
  750. {811*OVERSAMPLENR, 69},
  751. {821*OVERSAMPLENR, 67},
  752. {831*OVERSAMPLENR, 65},
  753. {841*OVERSAMPLENR, 63},
  754. {851*OVERSAMPLENR, 62},
  755. {861*OVERSAMPLENR, 60},
  756. {871*OVERSAMPLENR, 57},
  757. {881*OVERSAMPLENR, 55},
  758. {891*OVERSAMPLENR, 53},
  759. {901*OVERSAMPLENR, 51},
  760. {911*OVERSAMPLENR, 48},
  761. {921*OVERSAMPLENR, 45},
  762. {931*OVERSAMPLENR, 42},
  763. {941*OVERSAMPLENR, 39},
  764. {951*OVERSAMPLENR, 36},
  765. {961*OVERSAMPLENR, 32},
  766. {981*OVERSAMPLENR, 23},
  767. {991*OVERSAMPLENR, 17},
  768. {1001*OVERSAMPLENR, 9},
  769. {1008*OVERSAMPLENR, 0},
  770. };
  771. #endif
  772. #define _TT_NAME(_N) temptable_ ## _N
  773. #define TT_NAME(_N) _TT_NAME(_N)
  774. #ifdef THERMISTORHEATER_0
  775. # define HEATER_0_TEMPTABLE TT_NAME(THERMISTORHEATER_0)
  776. # define HEATER_0_TEMPTABLE_LEN (sizeof(HEATER_0_TEMPTABLE)/sizeof(*HEATER_0_TEMPTABLE))
  777. #else
  778. # ifdef HEATER_0_USES_THERMISTOR
  779. # error No heater 0 thermistor table specified
  780. # else // HEATER_0_USES_THERMISTOR
  781. # define HEATER_0_TEMPTABLE NULL
  782. # define HEATER_0_TEMPTABLE_LEN 0
  783. # endif // HEATER_0_USES_THERMISTOR
  784. #endif
  785. //Set the high and low raw values for the heater, this indicates which raw value is a high or low temperature
  786. #ifndef HEATER_0_RAW_HI_TEMP
  787. # ifdef HEATER_0_USES_THERMISTOR //In case of a thermistor the highest temperature results in the lowest ADC value
  788. # define HEATER_0_RAW_HI_TEMP 0
  789. # define HEATER_0_RAW_LO_TEMP 16383
  790. # else //In case of an thermocouple the highest temperature results in the highest ADC value
  791. # define HEATER_0_RAW_HI_TEMP 16383
  792. # define HEATER_0_RAW_LO_TEMP 0
  793. # endif
  794. #endif
  795. #ifdef THERMISTORHEATER_1
  796. # define HEATER_1_TEMPTABLE TT_NAME(THERMISTORHEATER_1)
  797. # define HEATER_1_TEMPTABLE_LEN (sizeof(HEATER_1_TEMPTABLE)/sizeof(*HEATER_1_TEMPTABLE))
  798. #else
  799. # ifdef HEATER_1_USES_THERMISTOR
  800. # error No heater 1 thermistor table specified
  801. # else // HEATER_1_USES_THERMISTOR
  802. # define HEATER_1_TEMPTABLE NULL
  803. # define HEATER_1_TEMPTABLE_LEN 0
  804. # endif // HEATER_1_USES_THERMISTOR
  805. #endif
  806. //Set the high and low raw values for the heater, this indicates which raw value is a high or low temperature
  807. #ifndef HEATER_1_RAW_HI_TEMP
  808. # ifdef HEATER_1_USES_THERMISTOR //In case of a thermistor the highest temperature results in the lowest ADC value
  809. # define HEATER_1_RAW_HI_TEMP 0
  810. # define HEATER_1_RAW_LO_TEMP 16383
  811. # else //In case of an thermocouple the highest temperature results in the highest ADC value
  812. # define HEATER_1_RAW_HI_TEMP 16383
  813. # define HEATER_1_RAW_LO_TEMP 0
  814. # endif
  815. #endif
  816. #ifdef THERMISTORHEATER_2
  817. # define HEATER_2_TEMPTABLE TT_NAME(THERMISTORHEATER_2)
  818. # define HEATER_2_TEMPTABLE_LEN (sizeof(HEATER_2_TEMPTABLE)/sizeof(*HEATER_2_TEMPTABLE))
  819. #else
  820. # ifdef HEATER_2_USES_THERMISTOR
  821. # error No heater 2 thermistor table specified
  822. # else // HEATER_2_USES_THERMISTOR
  823. # define HEATER_2_TEMPTABLE NULL
  824. # define HEATER_2_TEMPTABLE_LEN 0
  825. # endif // HEATER_2_USES_THERMISTOR
  826. #endif
  827. //Set the high and low raw values for the heater, this indicates which raw value is a high or low temperature
  828. #ifndef HEATER_2_RAW_HI_TEMP
  829. # ifdef HEATER_2_USES_THERMISTOR //In case of a thermistor the highest temperature results in the lowest ADC value
  830. # define HEATER_2_RAW_HI_TEMP 0
  831. # define HEATER_2_RAW_LO_TEMP 16383
  832. # else //In case of an thermocouple the highest temperature results in the highest ADC value
  833. # define HEATER_2_RAW_HI_TEMP 16383
  834. # define HEATER_2_RAW_LO_TEMP 0
  835. # endif
  836. #endif
  837. #ifdef THERMISTORBED
  838. # define BEDTEMPTABLE TT_NAME(THERMISTORBED)
  839. # define BEDTEMPTABLE_LEN (sizeof(BEDTEMPTABLE)/sizeof(*BEDTEMPTABLE))
  840. #else
  841. # ifdef BED_USES_THERMISTOR
  842. # error No bed thermistor table specified
  843. # endif // BED_USES_THERMISTOR
  844. #endif
  845. //Set the high and low raw values for the heater, this indicates which raw value is a high or low temperature
  846. #ifndef HEATER_BED_RAW_HI_TEMP
  847. # ifdef BED_USES_THERMISTOR //In case of a thermistor the highest temperature results in the lowest ADC value
  848. # define HEATER_BED_RAW_HI_TEMP 0
  849. # define HEATER_BED_RAW_LO_TEMP 16383
  850. # else //In case of an thermocouple the highest temperature results in the highest ADC value
  851. # define HEATER_BED_RAW_HI_TEMP 16383
  852. # define HEATER_BED_RAW_LO_TEMP 0
  853. # endif
  854. #endif
  855. #endif //THERMISTORTABLES_H_