WATER.h 305 B

1234567891011121314151617181920212223
  1. #ifndef __WATER_H__
  2. #define __WATER_H__
  3. #include <stdint.h>
  4. typedef enum
  5. {
  6. OFF = 0,
  7. ON
  8. } SwitchStatus;
  9. void BoardInit(void);
  10. float GetVoltage(void);
  11. uint8_t WaterReadData(void);
  12. void BeepStatusSet(SwitchStatus status);
  13. void LedWarnStatusSet(SwitchStatus status);
  14. #endif