Justin Rodenburg / Mbed 2 deprecated TCTF_Control_Main

Dependencies:   MODSERIAL mbed

Fork of TCTF_Control_Main by Rivian Irvine Team

Revision:
17:5098d8fbb298
Parent:
0:a28a1035c31b
--- a/LTC2487/LTC2487.h	Thu Jun 14 18:28:52 2018 +0000
+++ b/LTC2487/LTC2487.h	Fri Jun 15 00:50:47 2018 +0000
@@ -15,15 +15,23 @@
      LTC2487(PinName sda, PinName scl, uint8_t address, int freq);
      
     
-    /** Write to the output pins.
+    /** Write to LTC chip to select port to read from
      *
-     * This function is used to set output pins on or off.
+     * This function is used select the LTC2487 channel we would like to read from
      *
-     * @param chnl The GPIO pin to set
-     * @param values A bitmask indicating whether a pin should be on or off.
+     * @param channel The channel we would like to read from
      */
      
-     float readOutput(int address);
+     float writePort(int channel);
+     
+     /** Read value from LTC2487
+     *
+     * This function is used to read data from LTC2487 from channel selected in writePort()
+     *
+     * @param N/A
+     */
+     
+     float read();
      
      /** Sets I2C address
      *