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
|
|
|
|
2019-01-06 18:56:14 +01:00
|
|
|
util.h
|
|
|
|
******
|
|
|
|
|
|
|
|
.. doxygenfile:: esphomelib/uil.h
|
|
|
|
|
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:
|
|
|
|
|
2018-11-10 15:29:50 +01:00
|
|
|
.. doxygenclass:: ESPPreferenceObject
|
|
|
|
:members:
|
|
|
|
:protected-members:
|
|
|
|
:undoc-members:
|
|
|
|
|
2018-05-13 11:37:02 +02:00
|
|
|
.. 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
|