2.2 Arduino IDE Instruction
2.2 Arduino IDE Instruction
2) You can modify the project file path, editor text size, color themes, etc
by selecting “File -> Preferences” in the pop-up window.
1
2. Arduino Download Program
2
development board. (Take “Arduino Uno” and “COM6” as en example to
demonstrate. The COM port is not unique. You can can check the COM port
number in the computer’s device manager. )
3
6) When the upload is done, click to open the serial monitor. The
word “hiwonder” is printed on the serial monitor.
If the program requires importing the library files, you can refer to the
following operations:
1) Online Importing
4
This method is usually used for importing some official Arduino library files.
For example, the library file for servo control (Servo), the library file for PID
control algorithm (PID), and the library file for driving the RGB light (FastLED).
Take the library file for driving the RGB light (FastLED) as an example to
illustrate:
3 The prompt shown in the red box indicates the successful installation.
5
2) Local Importing:
This method is usually used for downloading library file or customizing the
library file importing. Here will take the “FastLED” library file as an example to
illustrate.
1 Select “Sketch -> Import library-> Add .ZIP library”.
3 The prompt shown in the below red box indicates that the library file
has been installed already.
6
! In the process of importing the library file in the local, if you encounter the below
error during the process of importing library files locally, you can refer to the following
solution.
7
In the opening preferences, copy the path.
Place the previously extracted library file into the “libraries” folder.
8
Restart Arduino IDE. The library file has been located in the library of
Arduino IDE.