iot_water_monitor_v2
Dependencies: easy-connect-v16 Watchdog FP MQTTPacket RecordType-v-16 watersenor_and_temp_code
Sensor/ReadSensor.h
- Committer:
- DuyLionTran
- Date:
- 2018-04-03
- Revision:
- 57:898fcb6692cd
- Parent:
- 49:d45c534ec444
File content as of revision 57:898fcb6692cd:
#ifndef __READSENSOR_H__ #define __READSENSOR_H__ #define SENSOR_1_PIN (D3) #define SENSOR_2_PIN (A4) #define SENSOR_3_PIN (A3) #define VREF 5000 #define SCOUNT 30 /* sum of sample point */ #define PROBE_EXIST void SENSOR_DoCalibration(uint8_t CurrentCalibrationMode); void SENSOR_AnalogRead(); void SENSOR_GetDOValue(); void SENSOR_ReadDoCharacteristicValues(); #endif /* __READSENSOR_H__ */