Page 1 of 1

How to set GPIO0 high output?

Posted: Sun Nov 19, 2017 7:35 pm
by yulihui2683685
I have the following few lines of code, but can not achieve high output, How to get high output?request help, thank you!
GPIO_ConfigTypeDef gpio_out_cfg;
gpio_out_cfg.GPIO_Mode = GPIO_Mode_Output;
gpio_out_cfg.GPIO_Pin = GPIO_Pin_0;
gpio_config(&gpio_out_cfg);
GPIO_OUTPUT_SET(GPIO_ID_PIN(0), 1);

Re: How to set GPIO0 high output?

Posted: Wed Dec 20, 2017 7:22 pm
by neilwalker
What have you tried so far?
Here are some useful links:
http://www.instructables.com/id/ESP8266 ... as-inputs/
http://www.123essay.biz GPIO0 high output section (in the right corner).
Perhaps they will help you.