I’ve not tried it but I presume it would work as it has the display as per above in the PicoGraphic lib.
I expect you have a good reason for rotating a square display (480x480), but I suppose the poor old Presto may be on its side in a dead parrot kind of way :-)
In fact, i want to try to use it like this /| instead of /_ so a 180 rotation and not a 90 like in my example (hope it is clear :d). I think it could be interesting on my desk!
Currently trying to configure it “manually”, but not impact for now…
import _presto
from picographics import PicoGraphics, DISPLAY_PRESTO, DISPLAY_PRESTO_FULL_RES
presto = _presto.Presto(full_res=False)
buffer = memoryview(presto)
display = PicoGraphics(DISPLAY_PRESTO, buffer=buffer, rotate=180)
BLACK = display.create_pen(0, 0, 0)
WHITE = display.create_pen(255, 255, 255)
width, height = display.get_bounds()
print(width,height)
display.set_pen(BLACK)
display.clear()
display.set_pen(WHITE)
display.text(“Hello World !”,100,100,scale=2)display.update()