Welcome to Roboduino V2 repository
05.Program compilation and upload
Program compilation and upload
Program compilation and uploadDevice connectionHardware connectionSoftware connectionProgram CompilationProgram Upload
Before compiling and downloading the program, we need to connect the Arduino Uno development board in advance.
Device connection
Hardware connection
Use a Type-B data cable to connect the Arduino Uno and the computer.
Software connection
Open the "Arduino IDE" software and select the model and serial port number corresponding to the development board:
Development board selection: Click Tools → Board → Arduino AVR Boards → Arduino Uno
Serial port number selection: Click Tools → Port → COM3
xxxxxxxxxxPlease select the serial port device according to the serial port number recognized by your system. The device manager in the lower right corner will prompt how to find the serial port corresponding to Arduino Uno.


Program Compilation
After the program is written, we need to compile it first. After the compilation is successful, we can proceed to the next step of program download.
xxxxxxxxxxCompilation can detect whether there are syntax errors in the code!

Program Upload
Click Program Upload, the program will be uploaded to the Arduino Uno development board we connected before, and the upload completion prompt will appear after the program is successfully uploaded!
