Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of MCP342x by
Revision 10:9e1bb1e16e68, committed 2018-08-10
- Comitter:
- tkstreet
- Date:
- Fri Aug 10 17:32:01 2018 +0000
- Parent:
- 9:9e70e215d39a
- Commit message:
- Removed calls to Debug library.
Changed in this revision
| mcp342x.cpp | Show annotated file Show diff for this revision Revisions of this file | 
| mcp342x.h | Show annotated file Show diff for this revision Revisions of this file | 
--- a/mcp342x.cpp	Thu Aug 09 23:38:12 2018 +0000
+++ b/mcp342x.cpp	Fri Aug 10 17:32:01 2018 +0000
@@ -4,7 +4,6 @@
 #define LEN_ONE_BYTE       1
 
 MCP342X::MCP342X(I2C *conn, SlaveAddress addr) {
-    DBG_L3("#ADC object created\r\n");
     slaveAddress = addr;
     connection = conn;
     
@@ -39,7 +38,7 @@
 }
 
 MCP342X::Status MCP342X::readData(int16_t *val, Config *config) {
-    DBG_L3("#ADC: Reading data\r\n");
+    
     char buf[LEN_DATA_REGISTER];
     
     // Reads data registers.
--- a/mcp342x.h Thu Aug 09 23:38:12 2018 +0000 +++ b/mcp342x.h Fri Aug 10 17:32:01 2018 +0000 @@ -2,7 +2,6 @@ #define __MCP342X_H__ #include "mbed.h" -#include "akdp_debug.h" /** * Device driver for MCP3426, MCP3427, and MCP3428.
