Brak opisu
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.

relais.h 675B

123456789101112131415161718192021
  1. /*
  2. * relais.h
  3. *
  4. * ESP8266 / ESP32 Relais Actor
  5. *
  6. * ----------------------------------------------------------------------------
  7. * "THE BEER-WARE LICENSE" (Revision 42):
  8. * <xythobuz@xythobuz.de> wrote this file. As long as you retain this notice
  9. * you can do whatever you want with this stuff. If we meet some day, and you
  10. * think this stuff is worth it, you can buy me a beer in return. Thomas Buck
  11. * ----------------------------------------------------------------------------
  12. */
  13. #ifndef __ESP_RELAIS_ACTOR__
  14. #define __ESP_RELAIS_ACTOR__
  15. int relais_count(void);
  16. void relais_set(int relais, int state);
  17. void relais_init(void);
  18. #endif // __ESP_RELAIS_ACTOR__