I want to run multiple sketches on one sketch. I use the method of multiple void loops. It works but esp8266 take a lot of time to execute commands.
void Setup()
{
setup1();
setup2();
}
void loop()
{
loop1();
loop2();
}
void Setup() { setup1(); setup2(); } void loop() { loop1(); loop2(); } IsIs there any method to avoid that ?