官术网_书友最值得收藏!

  • Arduino by Example
  • Adith Jagadish Boloor
  • 252字
  • 2021-07-16 20:06:31

Setting up

This topic involves downloading the Arduino software, installing the drivers, hooking up the Arduino, and understanding the IDE menus.

Downloading and installing the software

Arduino is open source-oriented. This means all the software is free to use non-commercially. Go to http://arduino.cc/en/Main/Software and download the latest version for your specific operating system. If you are using a Mac, make sure you choose the right Java version; similarly on Linux, download the 32-or 64-bit version according to your computer.

Downloading and installing the software

Arduino download page

Windows

Once you have downloaded the setup file, run it. If it asks for administrator privileges, allow it. Install it in its default location (C:\Program Files\Arduino or C:\Program Files (x86)\Arduino). Create a new folder in this location and rename it My Codes or something where you can conveniently store all your programs.

Mac OS X

Once the ZIP file has finished downloading, double-click to expand it. Copy the Arduino application to the Applications folder. You won't have to install additional drivers to make the Arduino work since we will be using only the Arduino UNO and MEGA throughout the book. You're all set.

If you didn't get anything to work, go to https://www.arduino.cc/en/guide/macOSX.

Linux (Ubuntu 12.04 and above)

Once you have downloaded the latest version of Arduino from the preceding link, install the compiler and the library packages using the following command:

sudo apt-get update && sudo apt-get install arduino arduino-core

If you are using a different version of Linux, this official Arduino walkthrough at http://playground.arduino.cc/Learning/Linux will help you out.

主站蜘蛛池模板: 陵川县| 繁昌县| 武川县| 沙田区| 巴彦淖尔市| 阜康市| 新密市| 武鸣县| 昆明市| 扎兰屯市| 彭山县| 淳化县| 禄丰县| 浪卡子县| 永平县| 旬邑县| 阳谷县| 日土县| 郧西县| 竹北市| 张家川| 泗洪县| 吉首市| 张北县| 宁波市| 招远市| 横山县| 惠东县| 禹州市| 衡水市| 东城区| 民丰县| 静宁县| 武夷山市| 综艺| 梅州市| 闻喜县| 汝南县| 蓝田县| 乐山市| 岳阳县|