✨ Add M3426 A<addr> parameter (#24130)
Co-authored-by: Scott Lahteine <github@thinkyhead.com>
This commit is contained in:
committed by
Scott Lahteine
parent
54e543872b
commit
995221e68e
@@ -29,12 +29,9 @@
|
||||
#include <stdint.h>
|
||||
#include <Wire.h>
|
||||
|
||||
// Address of MCP342X chip
|
||||
#define MCP342X_ADC_I2C_ADDRESS 104
|
||||
|
||||
class MCP3426 {
|
||||
public:
|
||||
int16_t ReadValue(uint8_t channel, uint8_t gain);
|
||||
int16_t ReadValue(uint8_t channel, uint8_t gain, uint8_t address);
|
||||
bool Error;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user