updating for oled and newer libraries