Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit75fb19b

Browse files
Comments
1 parentb840eef commit75fb19b

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

‎internal_filesystem/boot_unix.py‎

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,26 @@
1111
importmpos.ui
1212
importmpos.clipboard
1313

14+
# Same as Waveshare ESP32-S3-Touch-LCD-2
15+
#TFT_HOR_RES=320
16+
#TFT_VER_RES=240
17+
1418
#TFT_HOR_RES=640
1519
#TFT_VER_RES=480
1620

17-
TFT_HOR_RES=320
18-
TFT_VER_RES=240
21+
# 4:3 DVD resolution:
22+
#TFT_HOR_RES=720
23+
#TFT_VER_RES=576
1924

25+
# 16:9 resolution:
2026
#TFT_HOR_RES=1024
2127
#TFT_VER_RES=576
2228

23-
# Works:
29+
# 16:9 good resolution but fairly small icons:
30+
#TFT_HOR_RES=1280
31+
#TFT_VER_RES=720
32+
33+
# Even HD works:
2434
#TFT_HOR_RES=1920
2535
#TFT_VER_RES=1080
2636

@@ -29,7 +39,9 @@
2939
buf1=bus.allocate_framebuffer(TFT_HOR_RES*TFT_VER_RES*2,0)
3040

3141
display=sdl_display.SDLDisplay(data_bus=bus,display_width=TFT_HOR_RES,display_height=TFT_VER_RES,frame_buffer1=buf1,color_space=lv.COLOR_FORMAT.RGB565)
42+
# display.set_dpi(65) # doesn't seem to change the default 130...
3243
display.init()
44+
# display.set_dpi(65) # doesn't seem to change the default 130...
3345

3446
importsdl_pointer
3547
mouse=sdl_pointer.SDLPointer()

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp