lexus2k / ssd1306

Driver for SSD1306, SSD1331, SSD1351, IL9163, ILI9341, ST7735, PCD8544, Nokia 5110 displays running on Arduino/ESP32/Linux (Rasperry) platforms

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ATtiny85 - save pins?

classic-audio opened this issue · comments

I am using the library for a project for an analog VU meter.
I am using the 0.96" Color display with SSD1331 - the controller is ATtiny85.
That means of course a limited number of pins.
All is working well.
But for a preset version I could use on digital port more of the ATtiny 85.
So my question is:
Could there be a way to drive the display with your library and "not use" the RES pin?
The display reset function could be done at startup - a resistor and capacitor.

I have of course tried it but the display starts but a number of "strange" lines shows until the display stops.

I have solved the issue by using the A0 / RESET input.
The RESET of ATtiny85 if the voltage is below 2.2V .
I switch between 3V and Vcc (resitors) and analogRead A0.
This is headroom enough to read the status of a switch.