Slide 18
Slide 18 text
Tips for working on multiple devices .
(e.g. How to change the layout by aspect ratio?)
・Split left and right to display different content.
However, depending on the device,
it may be divided into long, thin pieces.
Want to divide it into as close to a square as possible, right?
M5.Display.fillRect(
0,
0,
M5.Display.width() / 2,
M5.Display.height(),
TFT_BLUE);
M5.Display.fillRect(
M5.Display.width() / 2,
0,
M5.Display.width() / 2,
M5.Display.height(),
TFT_YELLOW);