Menu OLED1306 128X64 adafruit library display() comand is slow.

This is a library I am writing for controlling temperature and humidity of a room using a water evaporating cooler. The display command is really slow; the clean screen part of it. What are my alternatives.

Firmware.zip (32.5 KB)

Use an SPI OLED display, the I2C displays are much slower.

Set the I²C clock as high as possible. On a Teensy 3.2, for example, you can easily reach 50 fps on a 1.8 MHz I²C clock.

The Uno will be slower, but still much faster than the default clock speed.

Pieter