pimoroni-pico icon indicating copy to clipboard operation
pimoroni-pico copied to clipboard

Inky frame rotate

Open mrglennjones opened this issue 1 year ago • 3 comments
trafficstars

When using rotate=90 on the inky frame 7.3, it actually rotates it 180

mrglennjones avatar Aug 19 '24 16:08 mrglennjones

🤔 https://github.com/pimoroni/pimoroni-pico/blob/970046e84ae73cad23deae28fd6e96427aa0eb64/drivers/inky73/inky73.cpp#L88

Looks like it doesn’t support 90/270 degree rotations (some mix of the chip not supporting it and/or it being a pain to accomplish in software) so if the rotation != 0 then it’s set to 180.

Might be worth looking into why 90 isn’t supported- of course past me didn’t leave any useful comment 😫

Gadgetoid avatar Aug 19 '24 21:08 Gadgetoid

just ran across this, +1 for supporting 90-degree rotation, given the rest of picographics doesn’t readily support drawing rotated!

ticky avatar Jun 02 '25 00:06 ticky

Not just me then! This would be very handy as writing the code do display everything landscape is extremely cumbersome.

danielchick avatar Jun 17 '25 17:06 danielchick