mirror of
https://github.com/hzkincony/kc868-arduino-library.git
synced 2024-11-23 05:58:25 +01:00
Update API_Reference_CN.md
This commit is contained in:
parent
89b87ac320
commit
94324f8bb5
@ -146,9 +146,9 @@
|
|||||||
boolean ret = kc868.readSensor(1);//读取开关量1的状态
|
boolean ret = kc868.readSensor(1);//读取开关量1的状态
|
||||||
Serial.printf("io1 intput is");
|
Serial.printf("io1 intput is");
|
||||||
if(ret)
|
if(ret)
|
||||||
Serial.println("tirgged!");
|
Serial.println("tirggered!");
|
||||||
else
|
else
|
||||||
Serial.println("not tirgged.");
|
Serial.println("not tirggered.");
|
||||||
```
|
```
|
||||||
|
|
||||||
- **uint8_t readSensorAll()**
|
- **uint8_t readSensorAll()**
|
||||||
|
Loading…
Reference in New Issue
Block a user