This is the code for my capstone project. Using inexpensive ultrasonic sensors, Bluetooth modules and Arduinios, my group designed an affordable blind spot detector that provides audible warnings and ...
#define TRIGGER_PIN 12 // Arduino pin tied to trigger pin on the ultrasonic sensor. #define ECHO_PIN 11 // Arduino pin tied to echo pin on the ultrasonic sensor. #define MAX_DISTANCE 100 // Maximum ...