Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

...


Info

Source Docs: http://opendevice.github.io/opendevice-lib-arduino/annotated.html

Where sensors are read ?

When calling ODev.loop () data from all sensors will be read by executing the Device.hasChanged () method, which reads the data and stores the value if it has been changed.

...

Note that you can also be the data using interrupts (must be enabled in config.h, ENABLE_DEVICE_INTERRUPTION).

Where data is sent ?

Each type of connection has its implementation as: MQTTWifiConnection.cpp

...