1. Arduino development environment installation
Step 1: Download the Arduino installation package from Baidu Netdisk: arduino-1.8.5-windows.exe
Download link: https://pan.baidu.com/s/1Q-RDWf7qcHytVod-k5-Iyg
Step 2: Open the installation package and click I Agree
2
Step 3: Click Next
3
Step 4: After selecting the path to install, click Install
4
Step 5: Wait for the installation to complete, a window will pop up during the period, click Install
5
pop up
2. Test whether the installation is complete
Step 1: Open the newly installed Arduino development environment
An interface like this will pop up
Step 2: Select the correct board at the development board under the tools menu, as shown in the figure
Step 3: Connect the Arduino development board to the USB port of the computer
Step 4: Write or copy the following code into the text box
void setup() {
pinMode(3,OUTPUT);
}
void loop() {
digitalWrite(3,HIGH);
}
Step 5: Select the port connected to the Arduino development board at the port under the tool menu
Note: Different ports will be displayed when plugged into different USB ports, not necessarily COM4
Step 6: Click the upload icon
A window will pop up, select the path to save the project and click Save
If the following fonts appear in the black box below, it means that the program is successfully programmed
Author: chenyongnan
Link: https://www.jianshu.com/p/cba2619fb4e8
Source: Jianshu
The copyright of Jianshu belongs to the author. For any form of reprint, please contact the author for authorization and indicate the source.