Roughing out concept of patent based temp curve

This commit is contained in:
Ben V. Brown
2019-10-07 18:20:09 +11:00
parent c1db22cb4a
commit c5f6f6d044
3 changed files with 227 additions and 1 deletions

View File

@@ -0,0 +1,20 @@
/*
* TipThermoModel.h
*
* Created on: 7 Oct 2019
* Author: ralim
*/
#ifndef SRC_TIPTHERMOMODEL_H_
#define SRC_TIPTHERMOMODEL_H_
#include "stdint.h"
#include "hardware.h"
class TipThermoModel {
public:
//Returns the uV of the tip reading before the op-amp compensating for pullups
static uint32_t convertTipRawADCTouV(uint16_t rawADC);
static uint32_t convertTipRawADCToDegC(uint16_t rawADC);
static uint32_t convertuVToDegC(uint32_t tipuVDelta);
};
#endif /* SRC_TIPTHERMOMODEL_H_ */