Conner Hensley / phread

Dependents:   595_Project2_Hydro

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers phread.h Source File

phread.h

00001 #ifndef _phread_H_
00002 #define _phread_H_
00003 
00004 #include "mbed.h"
00005 
00006 class PHread {
00007     public:
00008         PHread (PinName data_pin);
00009 
00010         /** Reads the pH
00011         * 
00012         * @returns pH
00013         */
00014         float get_pH();
00015 
00016     private:
00017         AnalogIn _datapin;
00018 
00019 };
00020 
00021 #endif