hal.h 435 B

1234567891011121314151617181920212223242526
  1. /*
  2. * hal.h
  3. *
  4. * Created on: Aug 3, 2016
  5. * Author: sebastian
  6. */
  7. #ifndef HAL_H_
  8. #define HAL_H_
  9. #define RELAIS_HEAT 29
  10. #define RELAIS_PUMP 25
  11. #define RELAIS_POWER 28
  12. #define HAL_INT0 0 // buttom button
  13. #define HAL_INT1 2 // top button
  14. void halInit(void);
  15. void halRelaisOn(int relais);
  16. void halRelaisOff(int relais);
  17. void halRelaisSet(int relais, int state);
  18. void halInt0(void);
  19. void halInt1(void);
  20. #endif /* HAL_H_ */