I have seen this behavior on my 8266 as well (just polling the A/D, 1-wire, and a counter). I thought it was due to power disturbances from the USB power brick, or little ESDs when I touched it or something. Usually, when it gets into that state if I reboot the 8266 it starts behaving itself...