chrismiller / TeensyEyes

Based on adafruit/Uncanny_Eyes, M4_Eyes, and mjs513/GC9A01A_t3n
MIT License
20 stars 7 forks source link

OLED Eyes "SSD1351" Support ? #2

Open Acivev opened 1 year ago

Acivev commented 1 year ago

I'm upgraded from Uncanny Eyes with the Teensy 3.1 board, and I'm using OLED Eyes "SSD1351". I had not realized that your code does not support it, and as I looked into it, I'd already soldered everything and tested it, but without result. I was a bit scared at the beginning. I'd be very happy if that were integrated.

5294006810111493130_121

Acivev commented 1 year ago

Additionally, I would like to inquire about the pin layout. Could you please provide information regarding the arrangement of pins?

chrismiller commented 1 year ago

The SSD1351 display has a different resolution compared to the GC9A01A and ST7789 that this project currently supports, which means the code would need add support for the different resolution. I don't think that's too difficult as the code was already written with different resolutions in mind, but I've never tried anything besides 240x240 and won't likely have time to in the foreseeable future. Happy to accept a pull request though. I think it would require a new display class to be added, the Python table generation code would need to be enhanced to generate different sized output tables, and many/all of the config.eye files would need to have custom versions to suit the 128x128 resolution. Ideally the iris files for the 128x128 eyes would be reduced in size too, to save memory on the Teensy.

You can configure the pins however you like, see config.h.