I have tried this with arduino ide 1-6-5 and 1-6-7.
Using nodemcu 1.0 and windows 7 64 bit
Using the following sketch instructions
const int buttonPin = 16;
pinMode(buttonPin,INPUT_PULLDOWN);
Gives this error when compiled:
'INPUT_PULLDOWN' was not declared in this scope
Don't understand the compiling error.