“Your Robotic Solution”
www.mybotic.com.my
How to Install Arduino Library User’s Manual V1.0
1|Page
Contents 1.
Introduction ............................................................................................................................. 3
2.
Problem .................................................................................................................................... 4
3.
Correct Way to Install Arduino Library .................................................................................. 5
2|Page
1. Introduction For Arduino beginner, the user may face the problem on build fail after putting the library. This user’s manual will guide you on how to install the Arduino Library correctly, so that the related library can be start to use.
3|Page
2. Problem For beginner, user may face problem below: 1. When downloading the Arduino source code from website. Some of the downloaded source code contents .cpp and .h files which are called Arduino Library Files.
2. Those Arduino Library Files should be put into correct location. Otherwise the related source code will be built fail during the compilation as picture below.
4|Page
3. Correct Way to Install Arduino Library 1. Close the Arduino Software. 2. Downloading the source code from website. Some of the downloaded source code contents Arduino Library such as below. (.cpp and .h files)
3. Go to [C:\Program Files\Arduino\libraries], create a corresponding folder.
For example, create a folder named “Ultrasonic”.
4. Copy the Arduino Library Files (.cpp and .h files).
5|Page
5. Paste the Arduino Library Files into [C:\Program Files\Arduino\libraries\Ultrasonic]
6. Open the Arduino Software and now you may use the library file by include the header file. The source code can be compiled successfully as well.
6|Page
Prepared by Mybotic 4, Jalan Universiti 3, Taman Universiti, 86400, Parit Raja, Johor Tel: +6016-7170703 / +6018-9510703 URL : www.mybotic.com.my Email :
[email protected] [email protected]
7|Page