LCD initialization issue

I finally got mine to work with the 8 line display ic2 function (128x64 1.3" adafruit ssd1306). I think it is because I made a bunch of edits in the adafruit_ssd1306.py basically commenting out the import of the spi_device module, any line mentioning DigitalInOut, and any line mentioning reset. And repeated adding/deletion of the function and restarting the front end. I can try to attach my edited file (and give its path /opt/Mycodo/env/lib/python3.11/site-packages/adafruit_ssd1306.py).
adafruit_ssd1306.py (11.7 KB)