esp8266-pid github.com/br3ttb/Arduino-PID-Library ported to esp8266. WORK IN PROGRESS Required esp_iot_sdk_v0.9.4_14_12_19 I have not tested this with v0.9.5