01-03-2023, 01:24 AM
(This post was last modified: 01-03-2023, 01:26 AM by KinCony Support.)
[Arduino source code for KC868-AP]-01 _relay_control
Code:
void setup() {
pinMode(13,OUTPUT);
pinMode(2,OUTPUT);
}
// the loop function runs over and over again forever
void loop() {
digitalWrite(2, HIGH);
delay(1000);
digitalWrite(13, HIGH);
delay(1000);
digitalWrite(2, LOW);
delay(1000);
digitalWrite(13, LOW);
}