Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Modify and build aruino library again

Status
Not open for further replies.

Arya Kumar

Member level 4
Joined
Aug 25, 2013
Messages
73
Helped
11
Reputation
22
Reaction score
11
Trophy points
8
Activity points
713
Hello,

I have an arduino and i wanted to interface IR sensor with it.
i got this library in GITHUB
https://github.com/z3t0/Arduino-IRremote

i want to make some changes and recompile the library for arduino,
I dont know how to open the project and compile.
Arduino IDE opens only INO and .pde files.

Please help,
I did good google search but i am not getting it.
 

The library will have .h and .cpp files. Open it in notepad and copy its contents and paste the code in a blank Arduino IDE sketch file. Edit it and save it.
 

OK u mean copy all content from .h and .cpp and paste it in arduio.
and also click on new tab..give the file name and keep saving all depenent files.
And how to build it cos all files are linked to each other.

I am still not clear, If u have link.. or need more info...anyway i am trying my own
 

Copying and pasting the contents of .cpp and .h files into Arduino IDE I only mentioned if you want to edit the library. After editing and saving (file extension should not be changed) the library folder has to be put inside Arduino's library folder. Then you open the sketch which uses that library and then compile. The folder used for library should not have spaces or special characters in its folder name.
 
Okada thanks for ur info.
I found a better way, i am using eclipse for arduino and there i can directly open the libaray in c++ and can compile.
thanks Okada
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top