IDE1 and wiring.h

In arduino ide v1 they have removed wiring.h but wiring.c is always there. I have many pde that do not work because they can't find the header file. How can I solve the problem with the new version without taking from ide 023 the wiring.h and put it on the folder? Thanks

wiring.h was renamed wiring_private.h. It's not really meant to be included in sketches/libraries. Arduino.h is.

thanks

Thanks.
This has also solved a problem for me.

But could someone please explain, what these headers contain, in particular Arduino.h

Who and /or what created it.
Or is there a good guide available to read - relevent to Arduino 1.0 -
Why are the library files different, as opposed to just having extra 'files' in a library say between
0023 and v1.0

TIA.

JohnSan:
Why are the library files different, as opposed to just having extra 'files' in a library say between
0023 and v1.0

The pre-1.0 Arduino IDE inherited much from Wiring (like Wiring.h) and Processing (like the PDE extension on sketches). The 1.0 release tries to make the naming more coherent by switching from Wiring.h to Arduino.h and from .PDE to .INO.

Sorry, i'm totally ignorant here.
My previous experience is faily basic, in Basic (compiled & interpreted) plus some assy code in
Motorola 6800 / 68000.
Didn't really get into development envoironment using linkers etc.

More recently, just in PLC (Eg. Siemens S7 ladder and SCL programming).

What is /was Wiring and Processing?

Wiring: http://www.wiring.org.co/
Wiring provides hardware abstraction to make it easier for non-engineers to program embedded processors like the AVR ATmega.

Processing: http://processing.org/
Processing provides a Mac/Linux/Windows IDE for people who want to create images, animations, and interactions. You can use Processing to create a visual front-end for your Arduino sketches.

'Hardware abstraction'.

Does this mean,for example,
the creation of an instruction to do some task with a specific piece of hardware to ,say, enable text to be displayed on a 'Yamamoto' display. (I've made the Yamamoto bit up).

In a similar manner to (e.g) 'pinMode(x,y) being compiled into something that actually sets, ATmega pin 'x' as input/output?

  • Where pinMode is an instruction created within the Arduino development envoironment?

If so, is there a list of the commands/instructions within Arduino.h ?

Where do the .cpp files fit in the scheme? I know thy are C++ files but what were they (and the headers) created with? What specifically is a header?

Sorry for so many questions. If there is a info document more appropriate for this, that you are aware of, could you provide a link (pun intended!) to it.
Many thanks.

'Hardware abstraction'.

In a similar manner to (e.g) 'pinMode(x,y) being compiled into something that actually sets, ATmega pin 'x' as input/output?

  • Where pinMode is an instruction created within the Arduino development envoironment?

I think "Wiring" is where pinMode(), digitalRead(), digitalWrite(), etc. came from

If so, is there a list of the commands/instructions within Arduino.h ?
Sorry for so many questions. If there is a info document more appropriate for this, that you are aware of, could you provide a link (pun intended!) to it.
Many thanks.

Start with the Help->Reference menu item in the Arduino IDE. That covers the basics. Then in the lower right corner of that page there is a link to the "libraries page" which covers the standard libraries, the "community-contributed code" which covers many third-party libraries, and the AVR LibC user manual which covers the C++ standard library.

[/quote]

Thanks.
I'll have a closer look at those libraries.
I assume Arduino.h is one of them?

Sorry for hi-jacking the thread :slight_smile: