user10801: I am trying to make an ultrasonic distance meter using Arduino. For this I added the ultrasonic library. But on compiling it shows this error "ultrasonic.h
not available". Please tell me how to add this .h file.

user490: In you Arduino Sketch folder there is a folder called Libraries, create a folder there and put your header file in that folder and restart the Arduino IDE.
For example (PC):
Documents/Arduino/Libraries/ultrasonic/ultrasonic.h

You can now use it in all your projects.
If you only want to use with a particular sketch, place in in the same folder as you  sketch and restart Arduino IDE.

10801: <p>I am trying to make an ultrasonic distance meter using Arduino. For this I added the ultrasonic library. But on compiling it shows this error "ultrasonic.h
not available". Please tell me how to add this .h file.</p>
 490: <p>In you Arduino Sketch folder there is a folder called <strong>Libraries</strong>, create a folder there and put your header file in that folder and restart the Arduino IDE.</p>

<p>For example (PC):</p>

<pre><code>Documents/Arduino/Libraries/ultrasonic/ultrasonic.h
</code></pre>

<p>You can now use it in all your projects.</p>

<p>If you only want to use with a particular sketch, place in in the same folder as you  sketch and restart Arduino IDE.</p>
