Fork of Library for MAXREFDES72# that supports configuration of shield for different PMOD types and the DS3231 RTC

Dependencies:   ds3231 max14661

Dependents:   ard2pmod_demo

Fork of ard2pmod by Maxim Integrated

Revision:
17:294c52822d28
Parent:
16:abb327ca5580
Child:
18:6d82914432e2
--- a/ard2pmod.h	Thu Mar 19 21:53:04 2015 +0000
+++ b/ard2pmod.h	Tue Mar 29 01:22:08 2016 +0000
@@ -1,19 +1,4 @@
 /******************************************************************//**
-* @file ard2pmod.h
-*
-* @author Justin Jordan
-*
-* @version 1.0
-*
-* Started: 11NOV14
-*
-* Updated: 
-*
-* @brief Header file for ard2pmod class
-*
-***********************************************************************
-*
-* @copyright 
 * Copyright (C) 2015 Maxim Integrated Products, Inc., All Rights Reserved.
 *
 * Permission is hereby granted, free of charge, to any person obtaining a
@@ -53,10 +38,6 @@
 #include "mbed.h"
 #include "max14661.h"
 #include "ds3231.h"
-
-
-#define ARD2PMOD_SDA D14
-#define ARD2PMOD_SCL D15
 	
 	
 /******************************************************************//**
@@ -96,7 +77,7 @@
 * PMOD_TYPE_6_HBRIDGE - 
 * Switches all open, mux not used
 **********************************************************************/
-class Ard2Pmod : public Max14661, public Ds3231
+class Ard2Pmod 
 {
     public:
         
@@ -169,6 +150,10 @@
 		* @endcode
 		******************************************************************/
 		Ard2Pmod(pmod_type_t pmod_type); 
+		
+		private:
+		
+		Max14661 _mux;
 
 };