2-ESP8266 SDK Development Basics Getting Started--Light a light

https://www.cnblogs.com/yangfengwu/p/11071580.html

 

 

All source code

 

https://gitee.com/yang456/Learn8266SDKDevelop.git

 

 

Say it, let's just use it

 

 Because I took a look, the above does not have an operating system, and there is no basic main function file, so we need to put some files in it.

https://wiki.ai-thinker.com/ai_ide_use

 

 

 Also, in the future, we will also use the operating system for our projects, so let's use this directly.

If you still want to use that, but are too lazy or worried that you will have problems copying files, you can watch this

https://www.cnblogs.com/yangfengwu/p/7557133.html

 

Then I will prepare the project for everyone, just follow the tutorial to import it

 

 Now look at the use of our SDK with operating system

In fact, the official has done it all

 

 

 

 Compile now

 

 

 

 

 

Then download the test

 

 

 

 

 

 

 

Press the firmware (WIFI) button → then press the reset (WIFI) button → then release the reset (WIFI) button → finally release the firmware (WIFI) button

Note: Actually press the firmware (WIFI) button (GPIO0 connected to low level) before the WIFI module is powered on or reset and restart. After the module restarts, release the firmware (WIFI) button (GPIO0 connected to high level) and the module will enter the firmware flashing Mode (download program mode)

 

 

 

 

 

 Reset

 

 

 

 

 Let's modify the baud rate to 115200

 

Press the CTRL mouse pointer to select the function you want to view and then click the left mouse button

 

 

 

 

 

 

 

 

 

 

 

 

 

 Then download

 

 

Press the firmware (WIFI) button → then press the reset (WIFI) button → then release the reset (WIFI) button → finally release the firmware (WIFI) button

Note: Actually press the firmware (WIFI) button (GPIO0 connected to low level) before the WIFI module is powered on or reset and restart. After the module restarts, release the firmware (WIFI) button (GPIO0 connected to high level) and the module will enter the firmware flashing Mode (download program mode)

 

 

The download software does not need to be changed, because the file will be reloaded by default

 

 

 

 

 

 

Press the firmware (WIFI) button → then press the reset (WIFI) button → then release the reset (WIFI) button → finally release the firmware (WIFI) button

Note: Actually press the firmware (WIFI) button (GPIO0 connected to low level) before the WIFI module is powered on or reset and restart. After the module restarts, release the firmware (WIFI) button (GPIO0 connected to high level) and the module will enter the firmware flashing Mode (download program mode)

 

 

 

 

 

 

 Reset

 

 

 

 

Turn on the light and put it to the next section

https://www.cnblogs.com/yangfengwu/p/11073055.html

Guess you like

Origin blog.csdn.net/qq_14941407/article/details/93804930