SSD1306Ascii
SSD1306Ascii copied to clipboard
Add timeouts to i2c ?
Great library - thanks!
Has anyone noticed that this hangs if there's no display present ?
Are you using Wire or the minimal AVR I2C driver?
The AVR I2C driver has two while loops that could hang.
// AvrI2c.h line 120
while (TWCR & (1 << TWSTO));
// AvrI2c.h line 142
while (!(TWCR & (1 << TWINT)));
Right now I'm using avri2c but I will likely have to migrate to wire on an esp8266.
for now I'll maybe add a simple counter based timeout in those tight loops.
Thanks
I have the same issue, thanks. Is there some way to simply bypass the whole screen writing if a screen is not detected?
for now, a counter timeout works just fine....