Updating OLED code for Pillow