A simple Arduino Uno project to measure distance using an HC-SR04 ultrasonic sensor. About : In this project, an HC-SR04 ultrasonic sensor is used to detect the distance of objects. The Echo pin is ...
/* This is an ultra basic code to read a DHT11 sensor. * The code should compile and use under 3kB of flash. * It uses the Arduino pulseIn() function to measure the duration of a HIGH pulse. * Please ...