Update API_Reference_CN.md

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

View File

@ -146,9 +146,9 @@
boolean ret = kc868.readSensor(1);//读取开关量1的状态
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()**