<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Core-Ink Screen rotation]]></title><description><![CDATA[<p dir="auto">I have an application where I need to put the Core-Ink upside down, hence I would like to rotate the complete screen output 180 degrees. I use only text labels</p>
<p dir="auto">I tried to transform the output manually but I ran i to a problem with M5TextBox function.<br />
It seems to limit the maximum coordinates by some value that depends on the font size.</p>
<p dir="auto">Here I have two labels defined with corresponding python code in the M5Flow:<br />
<img src="/assets/uploads/files/1690295064139-42f69ce9-120e-4fa8-a460-e0f51ec9ae2e-image-resized.png" alt="0_1690295076455_42f69ce9-120e-4fa8-a460-e0f51ec9ae2e-image.png" class=" img-fluid img-markdown" /><br />
This code however does not work. LABEL_1 is not shown on the screen.<br />
I have to change the coordinates of the LABEL_1 to less than (160,160) and then the output works but looks like this:<br />
<img src="/assets/uploads/files/1690295601311-51e23bc1-7c3c-4932-8f8e-2e6aa314b51e-image.png" alt="0_1690295613704_51e23bc1-7c3c-4932-8f8e-2e6aa314b51e-image.png" class=" img-fluid img-markdown" /><br />
The coordinates of the M5TextBox seems to be limited to (200 - &lt;font size&gt;) i.e. 160 for DejaVu40, 176 for DejaVu24 etc.</p>
<p dir="auto">I have also  tried the lcd.setRotation() but it does not seem to do anything.</p>
<p dir="auto">Yes the screenshots are from the M5flow but I have tried this on the Core-Ink :)</p>
]]></description><link>https://community.m5stack.com/topic/5521/core-ink-screen-rotation</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 07:45:44 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/5521.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 25 Jul 2023 14:43:58 GMT</pubDate><ttl>60</ttl></channel></rss>