osd-contiki/examples/osd/arduino-distance/sketch.h

18 lines
293 B
C
Raw Normal View History

2016-02-23 20:32:53 +01:00
#ifndef Sketch_h
#define Sketch_h
// HC-SR04 Ultrasonic Ranging Module has 4 pins
// HC-SR04 pin Vcc (needs 5v)
// HC-SR04 pin Trig (3.3v input = Merkurboard output)
#define TRIG_PIN 19
// HC-SR04 pin Echo (3.3v output = Merkurboard input)
#define ECHO_PIN 20
// HC-SR04 pin Gnd
#endif