Jim Carver / AnalogIn_Diff

Dependents:   K64F_DIFF_A2D

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers AnalogIn_Diff.h Source File

AnalogIn_Diff.h

00001 
00002 #ifndef K64F_DIFF_A2D_H
00003 #define K64F_DIFF_A2D_H
00004 
00005 #include "mbed.h"
00006 
00007 
00008 class AnalogIn_Diff
00009 {
00010 public:
00011   AnalogIn_Diff(int a2d_number);
00012 
00013   /**
00014   * AnalogIn_Diff destructor
00015   */
00016   ~AnalogIn_Diff();
00017    int16_t read_16(int channel);
00018    float read(int channel);
00019    
00020 private:
00021 
00022   int ch;
00023 
00024 };
00025 
00026 #endif