Go Down

Topic: Can't find Arduino library "wiring.h" (Read 4591 times) previous topic - next topic


I attempting to run an app from Miles Burton (HT1632 Arduino "Matrix Display" Library for the Sure 2416 and 0832)
that includes the file "wiring.h".  I'm told this library should be included in the core Arduino library but
I can't find it.  Has the name been changed to something other than "wiring.h"??


In 1.0, it has been renamed wiring_private.h, to indicate that it is not really meant for general inclusion.


Thank you very much.... I figured as much...


It is used in the Library "VirtuialWire" that is needed in Chapter 14 if Arduino Cookbook.
If Wiring.H is no longer for public use and will go away, is there an alternative.
I jumped from Ver 0022 to 1.0 and just ran into the problem.  I can copy Wiring.H from my 0022 Hardware/arduino/core to the 1.0 Hardware/arduino/core.  I'm concerned about other changes that may support it.


I can copy Wiring.H from my 0022 Hardware/arduino/core to the 1.0 Hardware/arduino/core.

Don't. There are three things you can do.
One is to use wiring_private.h, instead of wiring.h.
Two is to use Arduino.h instead of wiring.h
Three is to download the correct version of VirtualWire for Arduino 1.0.

One of them is guaranteed safe.


Trying to get the basic Tone example going, the compiler complained about no wiring.h in the .cpp.

I changed that to wiring_private.h and checked for other calls, none....then it compiled just fine on 1.0.5-r2.

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131