Doorbell-Speaker.ino: WiFi.setSleep(false);
This commit is contained in:
@@ -37,6 +37,7 @@ unsigned long lastcheck = 120000;
|
||||
|
||||
void setup()
|
||||
{
|
||||
WiFi.setSleep(false); // untested. Should keep WiFi alive
|
||||
btStop(); // turn off bluetooth
|
||||
hwSerial.begin(9600, SERIAL_8N1, 18, 19); // speed, type, TX, RX
|
||||
Serial.begin(115200);
|
||||
|
||||
Reference in New Issue
Block a user