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
/* | |
For use with a 4 Pin Ultrasonic Ranging Sensor, see: http://www.micropik.com/PDF/HCSR04.pdf | |
& an ATtiny85 Microprocessor | |
Power can be supplied to the ATtiny85 via the Arduino | |
VCC // 5v (+) | |
GND // GND (-) | |
TRIG // Analog Input 3 (Pin 3) | |
ECHO // Analog Input 2 (Pin 4) |