terryking228:
---------------------( COPY )--------------------------
#ifndef NewPing_h
#define NewPing_h
#endif#if defined(ARDUINO) && ARDUINO >= 100
#include "Arduino.h"
#else
#include "WProgram.h"
-----------------( END COPY )----------------------
Wouldn't it be?:
#ifndef NewPing_h
#define NewPing_h
#if defined(ARDUINO) && ARDUINO >= 100
#include <Arduino.h>
#else
#include "WProgram.h"
#endif
Also, did you try this with v1.1 which uses the shift registers?
Tim