esphome-docs/api/core/helpers.rst

65 lines
1.1 KiB
ReStructuredText
Raw Normal View History

2018-05-13 11:37:02 +02:00
Helpers
=======
esphomelib uses a bunch of helpers to make the library easier to use.
API Reference
-------------
helpers.h
*********
2018-06-01 18:10:00 +02:00
.. doxygenfile:: esphomelib/helpers.h
2018-05-13 11:37:02 +02:00
2018-06-01 18:10:00 +02:00
optional.h
**********
2018-05-13 11:37:02 +02:00
2018-06-01 18:10:00 +02:00
.. doxygenfile:: esphomelib/optional.h
2018-05-13 11:37:02 +02:00
ESPPreferences
**************
.. doxygenclass:: ESPPreferences
:members:
:protected-members:
:undoc-members:
.. doxygenvariable:: global_preferences
esphal.h
********
This header should be used whenever you want to access some `digitalRead`, `digitalWrite`, ... methods.
.. doxygenclass:: GPIOPin
:members:
:protected-members:
:undoc-members:
.. doxygenclass:: GPIOOutputPin
:members:
:protected-members:
:undoc-members:
.. doxygenclass:: GPIOInputPin
:members:
:protected-members:
:undoc-members:
ESPOneWire
**********
esphomelib has its own implementation of OneWire, because the implementation in the Arduino libraries
seems to have lots of timing issues with the ESP8266/ESP32. That's why ESPOneWire was created.
.. doxygenclass:: ESPOneWire
:members:
:protected-members:
:undoc-members:
defines.h
*********
.. doxygenfile:: esphomelib/defines.h