esp_iot_sdk_v1.4.0 error
Posted: Mon Nov 30, 2015 6:51 am
Why cant i use PIN_FUNC_SELECT macro in esp8266 sdk_v1.4.0. It is defined in eagle_soc.h. Whenever i used this macro to set my pins as gpios an error comes. i am calling this macro like this
PIN_FUNC_SELECT(PERIPHS_IO_MUX_GPIO2_U, FUNC_GPIO2);
Am i calling this wrong or is this a bug in sdk.
And if i cant use this function how can i define my pins as gpios.?
PIN_FUNC_SELECT(PERIPHS_IO_MUX_GPIO2_U, FUNC_GPIO2);
Am i calling this wrong or is this a bug in sdk.
And if i cant use this function how can i define my pins as gpios.?