With this project, we will be able to read the distance calculated using the code and the sensor, between the sensor and the object in the front, from the oled.
The results obtained : The distance calculated and displayed in the oled
The example (OLED SPI 128×64) in arduino helped me alot.
Some youtube videos were also helpful, inlcuding the labs.
https://www.arduino.cc/ The documentation section.