Mark Schwarzer / Mbed 2 deprecated Project_OCE360

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers SCI_SENSOR.h Source File

SCI_SENSOR.h

00001 #ifndef sci_sensor_H
00002 #define sci_sensor_H
00003  
00004 #include "mbed.h"
00005  
00006 class LM19
00007 {
00008  
00009 public:
00010     LM19(PinName in1); //initialization function
00011     float c1, c2, c3, c4;
00012     float temp();//temp comp.
00013 private:
00014     AnalogIn _in1;
00015  
00016 };
00017  
00018 class PhotoCell
00019 {
00020  
00021 public:
00022     PhotoCell(PinName in1);
00023     float Rs;
00024     float light();
00025  
00026 private:
00027     AnalogIn _in1;
00028  
00029 };
00030  
00031 #endif