Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Make Sonoff S20 internal LED blink
#define RELAY_PIN 12
#define LED_PIN 13
void setup() {
Serial.begin(115200);
Serial.println("START");
pinMode(LED_PIN, OUTPUT);
}
void loop() {
digitalWrite(LED_PIN, HIGH);
delay(1000);
digitalWrite(LED_PIN, LOW);
delay(1000);
Serial.println("LED");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.