Driver for the Microchip MCP432x series of ADCs.
Fork of MCP342x by
Diff: mcp342x.cpp
- Revision:
- 9:9e70e215d39a
- Parent:
- 7:356650b8b01e
- Child:
- 10:9e1bb1e16e68
--- a/mcp342x.cpp Wed May 02 20:01:57 2018 +0000 +++ b/mcp342x.cpp Thu Aug 09 23:38:12 2018 +0000 @@ -4,7 +4,7 @@ #define LEN_ONE_BYTE 1 MCP342X::MCP342X(I2C *conn, SlaveAddress addr) { - VERBOSE("#ADC object created\r\n"); + DBG_L3("#ADC object created\r\n"); slaveAddress = addr; connection = conn; @@ -39,7 +39,7 @@ } MCP342X::Status MCP342X::readData(int16_t *val, Config *config) { - VERBOSE("#ADC: Reading data\r\n"); + DBG_L3("#ADC: Reading data\r\n"); char buf[LEN_DATA_REGISTER]; // Reads data registers.