Adrianie help !
Czemu mi to nie działa ?
/* Set relay to ON */ void SonoffRelay::on() { digitalWrite(GPIO_14, HIGH); if (get()==RELAY_OFF) digitalWrite(RELAY, HIGH); if (Configuration.interface == 1) publish(); if (Configuration.debugger) Serial << endl << "INFO: Relay set to ON"; Eeprom.saveRelayState(RELAY_ON); Led.blink(); } /* Set relay to OFF */ void SonoffRelay::off() { digitalWrite(GPIO_14, LOW); if (get()==RELAY_ON) digitalWrite(RELAY, LOW); if (Configuration.interface == 1) publish(); if (Configuration.debugger) Serial << endl << "INFO: Relay set to OFF"; Eeprom.saveRelayState(RELAY_OFF); Led.blink(); }