ESP32 / ESP8266 & BME280 / SHT2x sensor with InfluxDB support
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

relais.h 743B

1234567891011121314151617181920212223
  1. /*
  2. * relais.h
  3. *
  4. * ESP8266 / ESP32 Environmental Sensor
  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. void relais_init(void);
  16. int relais_count(void);
  17. void relais_set(int relais, int state);
  18. int relais_get(int relais);
  19. String relais_name(int relais);
  20. #endif // __ESP_RELAIS_ACTOR__