Pages: [1]   Go Down
Author Topic: What IDE for Library Development?  (Read 2123 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 20
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I hope I have the proper forum for this question.

I want to develop several libraries and would like to know what IDE is used to develop the code?

Any enlightenment will be appreciated.

Vic
Logged

Vic Fraenckel
KC2GUI
windswaytoo ATSIGN gmail DOT com

France
Offline Offline
God Member
*****
Karma: 9
Posts: 613
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi!

The Arduino IDE is perfect for library development.

Check here for a complete tutorial.

Enjoy  smiley-wink
Logged


Sweden
Offline Offline
Full Member
***
Karma: 10
Posts: 237
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The Arduino IDE works for library development, but to make one, you MUST have a .pde file. You could then use the left pointing arrow at the top left side and then choose New Tab. Then you can choose a file name and the wanted extension (.h or .cpp). As sad, this MUST have an .pde file. If you don't want that you can use another IDE like Qt Creator or Eclipse. I use Qt Creator and it works great. There is one commercial and one non-commercial version available of the Qt Creator.

Hi!

The Arduino IDE is perfect for library development.

Check here for a complete tutorial.

Enjoy  smiley-wink

That tutorial is of course good.

ALWAYS remember you must put #include <WProgram.h> on top of both your header file and source file.

JanD
Logged

North Yorkshire, UK
Offline Offline
Faraday Member
**
Karma: 104
Posts: 5531
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Heh, stick to simple - notepad works fine smiley
Logged

0
Offline Offline
God Member
*****
Karma: 0
Posts: 594
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

NetBeans or Eclipse

once you know how to use them, you'll never go back to Arduino's IDE
Logged

Freelance engineer, consultant, contractor. Graduated from UW in 2013.

Sweden
Offline Offline
Full Member
***
Karma: 10
Posts: 237
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

NetBeans or Eclipse

once you know how to use them, you'll never go back to Arduino's IDE

I can't say the your right. Eclipse and Qt Creator (I haven't heard of NetBeans) are much better than the Arduino IDE, but you can't upload from them. There is an AVR plugin for Eclipse, but it doesn't work (easy) with the Arduino core files.

So for library development; you are right. For Arduino program development, you are wrong.

JanD
Logged

0
Offline Offline
God Member
*****
Karma: 0
Posts: 594
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Just make a makefile that does everything the Arduino IDE does, one of the old Arduino versions even came with one. The core files are just a bunch of files that gets compiled and linked along with your own files. Also make sure your makefile includes the AVRDUDE command.

Or use Eclipse or NetBeans with Arduino in external editor mode, do anything to avoid typing in that thing.
Logged

Freelance engineer, consultant, contractor. Graduated from UW in 2013.

nr Bundaberg, Australia
Offline Offline
Tesla Member
***
Karma: 121
Posts: 8453
Scattered showers my arse -- Noah, 2348BC.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I use Netbeans and run a makefile from within it. No IDE required and no swapping to a DOS window.

Having said that using Notepad and swapping to a DOS window to run the makefile is a good way to go as well.

______
Rob
Logged

Rob Gray aka the GRAYnomad www.robgray.com

Maitland, Australia
Offline Offline
Jr. Member
**
Karma: 1
Posts: 88
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Which library development environment?
http://arduino.cc/forum/index.php/topic,52326.0.html
Logged

There are 3 kinds of people in the world. Those who are good at maths, and those who aren't.

Offline Offline
Full Member
***
Karma: 0
Posts: 125
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

windows only: crimson editor
linux/win cross: scite

uploading is just avrdude, learn the cmd line and you can upload from anything that allows user tools to be added.
Logged

Pages: [1]   Go Up
Jump to: