Update API_Reference_EN.md

This commit is contained in:
hificat 2022-10-08 11:48:07 +08:00 committed by GitHub
parent 94324f8bb5
commit 3a61873f76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -146,9 +146,9 @@ This library for KC868-H32B Pro smart controller based on ESP32 chip, you should
boolean ret = kc868.readSensor(1); // read digital input1
Serial.printf("io1 intput is");
if(ret)
Serial.println("tirgged!");
Serial.println("tirggered!");
else
Serial.println("not tirgged.");
Serial.println("not tirggered.");
```
- **uint8_t readSensorAll()**