# Including HX711.h causes watchdog timeout of ESP8266.

Status
Not open for further replies.

#### Pommie

##### Well-Known Member
My current project combines a server, ftp and spiffs as the file system. All works as expected but I now want to add a weighing scale that can be calibrated and accessed via a html page. However, if I include HX711.h everything still works except the ftp server - any connection causes a WDT reset.

Any ideas how a header file can alter working code?

Mike.
P.S. can't post code as far too big.

#### Pommie

##### Well-Known Member
Code:
#if ARDUINO_VERSION <= 106
// "yield" is not implemented as noop in older Arduino Core releases, so let's define it.
void yield(void) {};
#endif
Removing the line void yield(void) {}; fixes the problem.

Mike.

Status
Not open for further replies.