18 lines
293 B
C
18 lines
293 B
C
|
#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
|
||
|
|