Closed thijstriemstra closed 2 years ago
Fadein:
for (int i = 0; i < 256; i++) {
d1306.setBrightness(i);
d1306.display();
delay(2);
}
Fadeout:
for (int i = 255; i >= 0; i--) {
d1306.setBrightness(i);
d1306.display();
delay(4);
}
thanks!
How can I fade in/out the display?