mirror of
https://github.com/hzkincony/kc868-arduino-library.git
synced 2024-11-21 13:08:25 +01:00
Update API_Reference_EN.md
This commit is contained in:
parent
94324f8bb5
commit
3a61873f76
@ -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()**
|
||||
|
Loading…
Reference in New Issue
Block a user