This is turning into a major pain in the ass... i am having issues with the limit switches...
for some reason, on the esp8266 using input pull up, the pin will read low before it hits the limit switch.... I also tried rewiring so it would read high when it hits the limit switch, high before it hits the limit switch... which is strange since i have a 2.2k ohm resistor pulling it down... arg....
If i use a dmm to read the voltage on the metal pieces i am using as "endstops" it works as expected. Not sure why.