xoseperez / sonoffsc

Itead Studio SonoffSC custom firmware with MQTT and Domoticz support
GNU General Public License v3.0
104 stars 35 forks source link

commConfigure needed in void setup() or atmega does not report back #4

Open Justblair opened 7 years ago

Justblair commented 7 years ago

The atmega328 needs commands such as AT+PUSH=1 AT+EVERY=60 before it reports. With debug off this does not seem to be transmitted (checked with logic analyser) when I add commConfigure function to setup loop, this fixes it and the Sonoff SC starts reliably.