From 3da7bc5c04ba9e938598d35da8fb88f1b61d524f Mon Sep 17 00:00:00 2001 From: hificat <48591454+hzkincony@users.noreply.github.com> Date: Sat, 8 Oct 2022 11:49:03 +0800 Subject: [PATCH] Update API_Reference_EN.md --- API_Reference_EN.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/API_Reference_EN.md b/API_Reference_EN.md index 9b0d128..ca46624 100644 --- a/API_Reference_EN.md +++ b/API_Reference_EN.md @@ -138,7 +138,7 @@ This library for KC868-H32B Pro smart controller based on ESP32 chip, you should - **boolean readSensor(int idx)** - - Read the state of the input sensor with the specified channel number. The range of the parameter 'idx' is 1-6, corresponding to 6 digital input ports. + - Read the state of the input sensor with the specified channel number. The range of the parameter `idx` is 1-6, corresponding to 6 digital input ports. - The return value is of type `boolean`, `true` is triggered, `flase` is not triggered. - Code example: