I have an issue. I have a program that is using INPUT_PULLUP and it is monitoring a switch to ground. When I flash the code using the WebIDE evening behaves as expected. When I flash the code via the CLI dev environment the digital read flipflops between low and high when the switch is closed. In other words if the switch is closed and the input pin should see ground. It behaves as though it sees high and low. It’s like the pull-up resistor is not connected. If I use a physical resistor pulling the pin up everything works as expected in both environments. The CLI is a fresh install done last week and the firmware on the Photon is 1.1.0
Is there a different version of INPUT_PULLUP for the CLI dev environment I should be using?
Thanks for any help folks.