initial upload
This commit is contained in:
parent
1e5163cbb3
commit
855bc65b8a
9 changed files with 407 additions and 0 deletions
17
examples/osd/arduino-distance/sketch.h
Normal file
17
examples/osd/arduino-distance/sketch.h
Normal file
|
@ -0,0 +1,17 @@
|
|||
#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
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue