ESP8266EX has 17 GPIO pins which can be assigned to various functions by programming the appropriate registers.
Each GPIO can be configured with internal pull-u...