differential input adc board K64F Compatible hal freescale K64F

Dependents:   trms_helloworld AnalogIn_Diff_helloworld

Fork of AnalogIn_Diff by frederic blanc

AnalogIn_Diff.h

Committer:
JimCarver
Date:
2014-05-22
Revision:
1:7b36e4381d83
Parent:
0:0f6f4be28e21
Child:
2:ea5a4c22bd53

File content as of revision 1:7b36e4381d83:


#ifndef K64F_DIFF_A2D_H
#define K64F_DIFF_A2D_H

#include "mbed.h"


class AnalogIn_Diff
{
public:
  AnalogIn_Diff(int a2d_number);

  /**
  * AnalogIn_Diff destructor
  */
  ~AnalogIn_Diff();
   int16_t read_16(int channel);
   float read(int channel);
   
private:

  int ch;

};

#endif