sdf
Dependencies: mbed C12832 Servo RangeFinder Pulse
moistureSensor/MoistureSensor.h
- Committer:
- asimelfadil
- Date:
- 2022-02-23
- Revision:
- 0:4db5f0f5faa0
File content as of revision 0:4db5f0f5faa0:
#ifndef MoistureSensor_H #define MoistureSensor_H #include "mbed.h" //Sensor new class for sensorA class moisture_sensor { public: moisture_sensor(PinName pin); ~moisture_sensor(); float read(); private: //class sets up the AnalogIn pin AnalogIn _pin; }; #endif