#define SCREEN_WIDTH 128 // OLED display width, in pixels #define SCREEN_HEIGHT 64 // OLED display height, in pixels ...
This project uses an ultrasonic sensor and an Arduino to measure distance and dynamically control the brightness of an LED. As an object moves closer to the sensor, the LED becomes brighter. As the ...