Updated Sensor API (markdown)

andrethomas 2018-07-14 20:58:02 +02:00
parent e7b35de0d2
commit 4768ef9fad
1 changed files with 1 additions and 1 deletions

@ -102,7 +102,7 @@ This callback ID is called every 50 milliseconds, e.g. for near real-time operat
This callback ID is called every second.
### FUNC_PREP_BEFORE_TELEPERIOD
This callback ID is called before TELEPERIOD and is intended.
This callback ID is called before TELEPERIOD and is intended to make provision for your sensor to be ready for polling during FUNC_JSON_APPEND or FUNC_WEB_APPEND for example, amongst the other function call options used by your sensor in the boolean Xsns<driverID>(byte callback_id) function as referenced above.
You would normally want to make sure you've detected and initialised before it is used by JSON_APPEND etc so that its ready to serve data.