- 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.
- 科技創(chuàng)新啟示錄:創(chuàng)新與發(fā)明大師軼事
- 科技原創(chuàng)苦旅
- 從量子到宇宙:顛覆人類認(rèn)知的科學(xué)之旅
- 灰度決策:如何處理復(fù)雜、棘手、高風(fēng)險的難題
- 科學(xué)的價值(漢譯世界學(xué)術(shù)名著叢書)
- 系統(tǒng)科學(xué)發(fā)展概論
- 干旱缺水的荒漠:沙漠(探究式科普叢書)
- 圖說科學(xué)發(fā)明
- 師夷長技(中國近現(xiàn)代科技轉(zhuǎn)型的歷史軌跡與哲學(xué)反思 第二卷)
- 讓事物“說話”:后現(xiàn)象學(xué)與技術(shù)科學(xué)
- 光和熱的能量釋放:火(探究式科普叢書)
- 牛津大學(xué)自然史博物館的尋寶之旅
- 必然
- 人機(jī)工程學(xué)試驗(yàn)與評價
- 尸檢系列-破譯“死亡密碼”(套裝共7冊)