From 4768ef9fad921ebe6273a709b136b0b9c3ed1832 Mon Sep 17 00:00:00 2001 From: andrethomas Date: Sat, 14 Jul 2018 20:58:02 +0200 Subject: [PATCH] Updated Sensor API (markdown) --- Sensor-API.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sensor-API.md b/Sensor-API.md index 6b851742..2716603b 100644 --- a/Sensor-API.md +++ b/Sensor-API.md @@ -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(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.