Skip to content

Instantly share code, notes, and snippets.

View IOT-123's full-sized avatar

IOT123 IOT-123

View GitHub Profile
@IOT-123
IOT-123 / Ultrasonic_Ranging_ATtiny85.ino
Created April 2, 2018 06:07 — forked from imjacobclark/Ultrasonic_Ranging_ATtiny85.ino
For use with an ATtiny85, Ultrasonic Ranging Module HC-SR04 and 3 LEDs.
/*
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)