Search found 4 matches

by yulihui2683685
Fri Dec 01, 2017 2:08 pm
Forum: ESP8266 SDK
Topic: (How to improve flash write speed?)8266怎么提高flash的写入速度?
Replies: 0
Views: 79

(How to improve flash write speed?)8266怎么提高flash的写入速度?

1, the use of spi_flash_write function write speed was 0.4MB / S, how to improve 8266 flash write speed. 2, spi_flash_write function to improve the source code? char* w_data=(char*)os_malloc(4096); int i; for(i=0;i<1024;i++){ spi_flash_erase_sector(256+i); } memset(w_data,0X10,4096); for(i=0;i<1024;...
by yulihui2683685
Wed Nov 22, 2017 9:45 pm
Forum: ESP8266 SDK
Topic: 对GPIO0操作不成功
Replies: 2
Views: 167

Re: 对GPIO0操作不成功

I've tried this example, but still no success, do not know why GPIO_ConfigTypeDef io_out_conf; io_out_conf.GPIO_IntrType = GPIO_PIN_INTR_DISABLE; io_out_conf.GPIO_Mode = GPIO_Mode_Output; io_out_conf.GPIO_Pin = GPIO_Pin_0; io_out_conf.GPIO_Pullup = GPIO_PullUp_DIS; gpio_config(&io_out_conf); GPI...
by yulihui2683685
Mon Nov 20, 2017 9:35 pm
Forum: ESP8266 SDK
Topic: 对GPIO0操作不成功
Replies: 2
Views: 167

对GPIO0操作不成功

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);
by yulihui2683685
Sun Nov 19, 2017 7:35 pm
Forum: Chit Chat
Topic: How to set GPIO0 high output?
Replies: 0
Views: 88

How to set GPIO0 high output?

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);

Go to advanced search