Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

:Not an issue: NodeMCU compatibility of 4 channel firmware #31

Open
officialarindam opened this issue Aug 30, 2017 · 1 comment
Open

Comments

@officialarindam
Copy link

i changed the pin definition as per nodemcu but the problem is when i push button 1 the esp8266 reboot.

#define BUTTON1 D5 // (Don't Change for Sonoff 4CH)
#define BUTTON2 D6 // (Don't Change for Sonoff 4CH)
#define BUTTON3 D7 // (Don't Change for Sonoff 4CH)
#define BUTTON4 D8 // (Don't Change for Sonoff 4CH)
#define RELAY1 D1 // (Don't Change for Sonoff 4CH)
#define RELAY2 D2 // (Don't Change for Sonoff 4CH)
#define RELAY3 D3 // (Don't Change for Sonoff 4CH)
#define RELAY4 D4 // (Don't Change for Sonoff 4CH)
#define LED D0 // (Don't Change for Sonoff 4CH)

@officialarindam
Copy link
Author

i disabled these four line

else if (count1 >40){
Serial.println("\n\nSonoff Rebooting . . . . . . . . Please Wait");
requestRestart = true;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant