change port manipulation to ardino commands and lets change the pin at runtime possible
This commit is contained in:
parent
1a1aaa883e
commit
f7e987cbeb
4 changed files with 54 additions and 129 deletions
|
@ -45,14 +45,10 @@
|
|||
|
||||
/** @name RELAY Functions */
|
||||
/** @{ */
|
||||
void relay1_on(void);
|
||||
void relay1_off(void);
|
||||
void relay2_on(void);
|
||||
void relay2_off(void);
|
||||
void relay3_on(void);
|
||||
void relay3_off(void);
|
||||
void relay4_on(void);
|
||||
void relay4_off(void);
|
||||
void relay_init(uint8_t pin);
|
||||
void relay_on(uint8_t pin);
|
||||
void relay_off(uint8_t pin);
|
||||
|
||||
/** @} */
|
||||
|
||||
#endif /* __RELAY_H__ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue