This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:examples:sensor:thermistor [2015/11/13 09:44] – heikopikner | en:examples:sensor:thermistor [2020/07/20 09:00] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 79: | Line 79: | ||
| { | { | ||
| // Since the table begins with 0 but values of the elements | // Since the table begins with 0 but values of the elements | ||
| - | // from -20, the value must be shifted. | + | // from -20, the value must be shifted |
| return celsius + min_temp; | return celsius + min_temp; | ||
| } | } | ||