This repository has been archived on 2025-01-02. You can view files and clone it, but cannot push or open issues or pull requests.
torsion/User/board/relay.h

13 lines
269 B
C

#ifndef __RELAY_H__
#define __RELAY_H__
#include "main.h"
#include "lib.h"
#define RELAY_NUM 14U
extern void relay_open(uint8_t num);
extern void relay_open_all(void);
extern void relay_close(uint8_t num);
extern bool relay_isopen(uint8_t num);
#endif // __RELAY_H__