ch1 test1

Dependencies:   MAX14690

Revision:
5:8e424775234a
Parent:
3:09e3dbb49561
Child:
11:e821831283e2
Child:
15:997952e5fd29
diff -r 09e3dbb49561 -r 8e424775234a max32630fthr.cpp
--- a/max32630fthr.cpp	Tue Dec 13 21:28:57 2016 +0000
+++ b/max32630fthr.cpp	Fri Dec 16 00:57:36 2016 +0000
@@ -38,11 +38,17 @@
 #include "max32630fthr.h"
 
 //******************************************************************************
-MAX32630FTHR::MAX32630FTHR() : i2c(P5_7, P6_0), max14690(&i2c)
+MAX32630FTHR::MAX32630FTHR() : i2c(P5_7, P6_0), max14690(i2c)
 {
 }
 
 //******************************************************************************
+MAX32630FTHR::MAX32630FTHR(vio_t vio) : i2c(P5_7, P6_0), max14690(i2c)
+{
+    init(vio);
+}
+
+//******************************************************************************
 MAX32630FTHR::~MAX32630FTHR()
 {
 }