config stuff
This commit is contained in:
@ -11,11 +11,12 @@
|
||||
class ADS1210 {
|
||||
public:
|
||||
ADS1210() : value(0) {};
|
||||
void begin(uint8_t csPin, uint8_t drdyPin);
|
||||
void begin(uint8_t csPin, uint8_t drdyPin, int eepromAddr);
|
||||
void exec();
|
||||
|
||||
uint32_t value;
|
||||
float u;
|
||||
float rRaw;
|
||||
float r;
|
||||
private:
|
||||
// register addresses
|
||||
@ -77,6 +78,9 @@ private:
|
||||
|
||||
uint8_t m_csPin;
|
||||
uint8_t m_drdyPin;
|
||||
int m_eepromAddr;
|
||||
float m_calFactor;
|
||||
float m_calOffset;
|
||||
|
||||
|
||||
void enableCS() const;
|
||||
|
Reference in New Issue
Block a user