Created
July 23, 2017 02:27
-
-
Save catskull/defd4153701b5f391866cbeb7a7994cb to your computer and use it in GitHub Desktop.
standup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Ultrasonic.h> | |
Ultrasonic ultrasonic(5, 4); | |
void setup() { | |
// put your setup code here, to run once: | |
Serial.begin(9600); | |
} | |
void loop() { | |
// put your main code here, to run repeatedly: | |
Serial.println(ultrasonic.distanceRead(INC)); | |
delay(500); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment