ThingPulse / esp8266-oled-ssd1306

Driver for the SSD1306 and SH1106 based 128x64, 128x32, 64x48 pixel OLED display running on ESP8266/ESP32
https://thingpulse.com
Other
1.99k stars 637 forks source link

ssd1306_spi on esp32 showing some artefacts #304

Closed cookins closed 3 years ago

cookins commented 3 years ago

hello i kinda have issues with displaying any examples on this library. i tested all on adafruit one - and everything works correct. but there i define every SPI pin and here only RES, DC, CS. while in example it showing: // Initialize the OLED display using SPI: // D5 -> CLK // D7 -> MOSI (DOUT) // D0 -> RES // D2 -> DC // D8 -> CS is that default pins? cuz my esp32 have CS on D5 and CLK on D18. I can change CS, but seems cant change CLK. i think issues with artefacts showing up (like parts of real picture going very fast), cuz same data coming on one pin, maybe? anyway, will appreciate for any info!

Here some additional photos of my SPI ssd1306. IMG_20200921_221918.jpgIMG_20200921_221838.jpg And yes, of course I used ssd1306Spi.h Sketch works fine. Also, i tried examples of library but same issue with everything. some times picture split on half or next line... UPD: already switched module to I2C (my ssd1306 v2 board can be switched to I2C by resoldering resistors). adafruit example works well, cuz there can be set RES pin. while here no such line, so I2C not works on that library.

cookins commented 3 years ago

UP

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.