1234567891011121314151617181920212223242526 |
- /*
- * hal.h
- *
- * Created on: Aug 3, 2016
- * Author: sebastian
- */
- #ifndef HAL_H_
- #define HAL_H_
- #define RELAIS_HEAT 29
- #define RELAIS_PUMP 25
- #define RELAIS_POWER 28
- #define HAL_INT0 0 // buttom button
- #define HAL_INT1 2 // top button
- void halInit(void);
- void halRelaisOn(int relais);
- void halRelaisOff(int relais);
- void halRelaisSet(int relais, int state);
- void halInt0(void);
- void halInt1(void);
- #endif /* HAL_H_ */
|