Redirecting you to https://github.com/nodemcu/nodemcu-firmware/wiki/nodemcu_api_cn#io_mode