Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: easy-connect-v16 Watchdog FP MQTTPacket RecordType-v-16 watersenor_and_temp_code
Sensor/ReadSensor.h
- Committer:
- DuyLionTran
- Date:
- 2018-03-08
- Revision:
- 43:dcde0e66874a
- Parent:
- 41:6aed398adcc4
- Child:
- 45:92da959d624b
File content as of revision 43:dcde0e66874a:
#ifndef __READSENSOR_H__ #define __READSENSOR_H__ #define SENSOR_1_PIN (A5) #define SENSOR_2_PIN (A3) #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__ */