This is a simple Arduino program designed to measure distances and display colors on a 16x16 bi-color LED matrix.
- Arduino Uno R3
- Adafruit Bi-Color 16x16 LED Matrix
- HC-SR04 Ultrasonic Sensor
- Project Breadboard & Jumper Wires
- VCC - 5V
- Trig - 12
- Echo - 11
- Grnd - Ground
- VCC - 5V
- D - Analog 4
- C - Analog 5
- Grnd - Ground
Getting started is simple. Copy the code from final-parking.ino
into a new Arduino project, compile and upload. Update the distances to your needs in the IF blocks in the main loop() function.
Enjoy!