- Mastering Arduino
- Jon Hoffman
- 362字
- 2021-07-23 18:57:53
Exploring the IDE
There are four areas that make up the main development window of the IDE. The following screenshot shows these four areas:
The menu bar for the IDE functions like menu bars in other applications, where you click on one of the options, and a submenu appears with more options. We will look at some of the commonly used menu options as we go through this book.
The command bar provides quick access to five of the most commonly used commands. These commands are, from left to right, verify, upload, new, open and save. The verify command will attempt to compile the sketch in order to verify that there is nothing wrong with the code. The upload command will attempt to build and upload the sketch to the attached Arduino. The new command will create a new sketch. The open command will open a sketch. Finally, the save command will save the sketch.
The coding area is where we write the code for the Arduino. You will notice that when we start a new sketch, two functions (setup and loop) are automatically created in the main tab. We will be working with these functions a lot in this book. We will be looking at what these two functions do at the end of this chapter when we create our first sketch.
The status area is used by the IDE to let us know what is happening when the IDE is doing something like compiling, uploading or verifying a sketch.
In order to upload a sketch to an Arduino, we need to connect the Arduino to the computer the IDE is running on with a USB cable and configure it in the IDE. Configuring the Arduino within the IDE requires us to tell it what type of Arduino we are using and what port it is on. Let's see how to do this.
- 身邊有科學(xué):妙趣橫生的數(shù)學(xué)
- 生長(zhǎng)式語(yǔ)文課堂
- 科技創(chuàng)新300年
- 理念指路:語(yǔ)文教育觀念的革命
- 科技之巔3:《麻省理工科技評(píng)論》100項(xiàng)全球突破性技術(shù)深度剖析
- 火起源的神話
- 我的第一本科學(xué)游戲書2
- 干旱缺水的荒漠:沙漠(探究式科普叢書)
- 京津冀環(huán)境保護(hù)歷史、現(xiàn)狀和對(duì)策
- 玉米病蟲害識(shí)別手冊(cè)
- 師夷長(zhǎng)技(中國(guó)近現(xiàn)代科技轉(zhuǎn)型的歷史軌跡與哲學(xué)反思 第二卷)
- 國(guó)際科學(xué)前沿重點(diǎn)領(lǐng)域和方向發(fā)展態(tài)勢(shì)報(bào)告2020
- 物理精神:物質(zhì)、信息與人工智能自組裝
- 技術(shù)的本質(zhì):技術(shù)是什么,它是如何進(jìn)化的
- 小電流接地系統(tǒng)單相接地故障選線理論研究(遼寧省優(yōu)秀自然科學(xué)著作)