Update sketchDistanceSerial-Ultrasonic.ino
This commit is contained in:
parent
b75ba7c515
commit
2de72ab928
|
@ -1,3 +1,7 @@
|
||||||
|
// Ultrasonic - Library for HR-SC04 Ultrasonic Ranging Module.
|
||||||
|
// Rev.4 (06/2012) - J.Rodrigo ( www.jrodrigo.net ) - www.ardublog.com
|
||||||
|
// more info at https://www.abonnel.fr/electronique/lois-et-composants/500-capteur-de-distance-ultrasons#principe
|
||||||
|
|
||||||
#include "Ultrasonic.h"
|
#include "Ultrasonic.h"
|
||||||
|
|
||||||
#define echoPin 9 // attach pin D2 Arduino to pin Echo of HC-SR04
|
#define echoPin 9 // attach pin D2 Arduino to pin Echo of HC-SR04
|
||||||
|
|
Loading…
Reference in New Issue