You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
zavlaha-kzk/src/app_io.h

22 lines
402 B

/**
* TODO file description
*/
#ifndef ZAVLAHA_APP_IO_H
#define ZAVLAHA_APP_IO_H
#include <stdint.h>
#include <stdbool.h>
void set_relays(bool one, bool two, bool three, bool four);
/** Open valve, 1,2,3,4; 0=close all */
void open_valve(uint8_t num);
void set_one_relay(uint8_t num, bool on);
uint16_t moisture_read();
uint16_t moisture_convert(uint16_t moisture);
#endif //ZAVLAHA_APP_IO_H