Microchip MCP342x ADC library
Diff: mcp342x.cpp
- Revision:
- 6:5c60f0b0b1c1
- Parent:
- 5:0ca445d2d2bc
- Child:
- 7:82a309e53326
diff -r 0ca445d2d2bc -r 5c60f0b0b1c1 mcp342x.cpp --- a/mcp342x.cpp Mon Sep 10 19:08:37 2018 +0000 +++ b/mcp342x.cpp Thu Oct 04 10:02:12 2018 +0000 @@ -137,7 +137,6 @@ _i2c->read(_address, _i2c_command, byteNum); } - switch (_resolution) { case RESOLUTION_12: adc_value = (_i2c_command[0] << 8) | _i2c_command[1];