just set true value to dim display. SSD1306 library does not care about the integer value. Only 0 or non 0.