Raspberry Pi - Display and Output
What will be displayed on the OLED after running this code snippet?
from PIL import Image, ImageDraw, ImageFont
from luma.core.interface.serial import i2c
from luma.oled.device import ssd1306
serial = i2c(port=1, address=0x3C)
device = ssd1306(serial)
image = Image.new('1', (device.width, device.height))
draw = ImageDraw.Draw(image)
draw.text((10, 10), 'Hi', fill=255)
device.display(image)