File tree Expand file tree Collapse file tree 17 files changed +973
-6
lines changed Expand file tree Collapse file tree 17 files changed +973
-6
lines changed Original file line number Diff line number Diff line change 1+ # This is the list of turing-smart-screen-python's significant contributors.
2+ #
3+ # Contributors listed here are entirely within the project's discretion and has no implications for copyright ownership.
4+ # To see the full list of contributors, see the revision history in source control.
5+ # Revision history is the only trusted source as to copyright ownership for each contribution.
6+ #
7+ # Authors ordered by first contribution.
8+
9+ Matthieu Houdebine (@mathoudebine)
10+ Ebag333
11+ Charles Ferguson (@gerph)
12+ Russ Nelson (@RussNelson)
13+ Rollback (@Rollbacke)
14+ w1ld3r
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 1+ # turing-smart-screen-python - a Python system monitor and library for 3.5" USB-C displays like Turing Smart Screen or XuanFang
2+ # https://github.com/mathoudebine/turing-smart-screen-python/
3+
4+ # Copyright (C) 2021-2023 Matthieu Houdebine (mathoudebine)
5+ # Copyright (C) 2022-2023 Rollbacke
6+ # Copyright (C) 2022-2023 Ebag333
7+ #
8+ # This program is free software: you can redistribute it and/or modify
9+ # it under the terms of the GNU General Public License as published by
10+ # the Free Software Foundation, either version 3 of the License, or
11+ # (at your option) any later version.
12+ #
13+ # This program is distributed in the hope that it will be useful,
14+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
15+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16+ # GNU General Public License for more details.
17+ #
18+ # You should have received a copy of the GNU General Public License
19+ # along with this program. If not, see <https://www.gnu.org/licenses/>.
20+
121import os
222import queue
323import sys
Original file line number Diff line number Diff line change 1+ # turing-smart-screen-python - a Python system monitor and library for 3.5" USB-C displays like Turing Smart Screen or XuanFang
2+ # https://github.com/mathoudebine/turing-smart-screen-python/
3+
4+ # Copyright (C) 2021-2023 Matthieu Houdebine (mathoudebine)
5+ #
6+ # This program is free software: you can redistribute it and/or modify
7+ # it under the terms of the GNU General Public License as published by
8+ # the Free Software Foundation, either version 3 of the License, or
9+ # (at your option) any later version.
10+ #
11+ # This program is distributed in the hope that it will be useful,
12+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
13+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14+ # GNU General Public License for more details.
15+ #
16+ # You should have received a copy of the GNU General Public License
17+ # along with this program. If not, see <https://www.gnu.org/licenses/>.
18+
119from library import config
220from library .lcd .lcd_comm import Orientation
321from library .lcd .lcd_comm_rev_a import LcdCommRevA
Original file line number Diff line number Diff line change 1+ # turing-smart-screen-python - a Python system monitor and library for 3.5" USB-C displays like Turing Smart Screen or XuanFang
2+ # https://github.com/mathoudebine/turing-smart-screen-python/
3+
4+ # Copyright (C) 2021-2023 Matthieu Houdebine (mathoudebine)
5+ #
6+ # This program is free software: you can redistribute it and/or modify
7+ # it under the terms of the GNU General Public License as published by
8+ # the Free Software Foundation, either version 3 of the License, or
9+ # (at your option) any later version.
10+ #
11+ # This program is distributed in the hope that it will be useful,
12+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
13+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14+ # GNU General Public License for more details.
15+ #
16+ # You should have received a copy of the GNU General Public License
17+ # along with this program. If not, see <https://www.gnu.org/licenses/>.
18+
119import os
220import queue
321import sys
Original file line number Diff line number Diff line change 1+ # turing-smart-screen-python - a Python system monitor and library for 3.5" USB-C displays like Turing Smart Screen or XuanFang
2+ # https://github.com/mathoudebine/turing-smart-screen-python/
3+
4+ # Copyright (C) 2021-2023 Matthieu Houdebine (mathoudebine)
5+ #
6+ # This program is free software: you can redistribute it and/or modify
7+ # it under the terms of the GNU General Public License as published by
8+ # the Free Software Foundation, either version 3 of the License, or
9+ # (at your option) any later version.
10+ #
11+ # This program is distributed in the hope that it will be useful,
12+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
13+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14+ # GNU General Public License for more details.
15+ #
16+ # You should have received a copy of the GNU General Public License
17+ # along with this program. If not, see <https://www.gnu.org/licenses/>.
18+
119import struct
220import time
321
Original file line number Diff line number Diff line change 1+ # turing-smart-screen-python - a Python system monitor and library for 3.5" USB-C displays like Turing Smart Screen or XuanFang
2+ # https://github.com/mathoudebine/turing-smart-screen-python/
3+
4+ # Copyright (C) 2021-2023 Matthieu Houdebine (mathoudebine)
5+ #
6+ # This program is free software: you can redistribute it and/or modify
7+ # it under the terms of the GNU General Public License as published by
8+ # the Free Software Foundation, either version 3 of the License, or
9+ # (at your option) any later version.
10+ #
11+ # This program is distributed in the hope that it will be useful,
12+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
13+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14+ # GNU General Public License for more details.
15+ #
16+ # You should have received a copy of the GNU General Public License
17+ # along with this program. If not, see <https://www.gnu.org/licenses/>.
18+
119import struct
220
321from serial .tools .list_ports import comports
Original file line number Diff line number Diff line change 1+ # turing-smart-screen-python - a Python system monitor and library for 3.5" USB-C displays like Turing Smart Screen or XuanFang
2+ # https://github.com/mathoudebine/turing-smart-screen-python/
3+
4+ # Copyright (C) 2021-2023 Matthieu Houdebine (mathoudebine)
5+ #
6+ # This program is free software: you can redistribute it and/or modify
7+ # it under the terms of the GNU General Public License as published by
8+ # the Free Software Foundation, either version 3 of the License, or
9+ # (at your option) any later version.
10+ #
11+ # This program is distributed in the hope that it will be useful,
12+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
13+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14+ # GNU General Public License for more details.
15+ #
16+ # You should have received a copy of the GNU General Public License
17+ # along with this program. If not, see <https://www.gnu.org/licenses/>.
18+
119import mimetypes
220import shutil
321from http .server import BaseHTTPRequestHandler , HTTPServer
Original file line number Diff line number Diff line change 1+ # turing-smart-screen-python - a Python system monitor and library for 3.5" USB-C displays like Turing Smart Screen or XuanFang
2+ # https://github.com/mathoudebine/turing-smart-screen-python/
3+
4+ # Copyright (C) 2021-2023 Matthieu Houdebine (mathoudebine)
5+ #
6+ # This program is free software: you can redistribute it and/or modify
7+ # it under the terms of the GNU General Public License as published by
8+ # the Free Software Foundation, either version 3 of the License, or
9+ # (at your option) any later version.
10+ #
11+ # This program is distributed in the hope that it will be useful,
12+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
13+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14+ # GNU General Public License for more details.
15+ #
16+ # You should have received a copy of the GNU General Public License
17+ # along with this program. If not, see <https://www.gnu.org/licenses/>.
18+
119# Configure logging format
220import logging
321
Original file line number Diff line number Diff line change 1+ # turing-smart-screen-python - a Python system monitor and library for 3.5" USB-C displays like Turing Smart Screen or XuanFang
2+ # https://github.com/mathoudebine/turing-smart-screen-python/
3+
4+ # Copyright (C) 2021-2023 Matthieu Houdebine (mathoudebine)
5+ # Copyright (C) 2022-2023 Rollbacke
6+ # Copyright (C) 2022-2023 Ebag333
7+ #
8+ # This program is free software: you can redistribute it and/or modify
9+ # it under the terms of the GNU General Public License as published by
10+ # the Free Software Foundation, either version 3 of the License, or
11+ # (at your option) any later version.
12+ #
13+ # This program is distributed in the hope that it will be useful,
14+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
15+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16+ # GNU General Public License for more details.
17+ #
18+ # You should have received a copy of the GNU General Public License
19+ # along with this program. If not, see <https://www.gnu.org/licenses/>.
20+
121import sched
222import threading
323import time
You can’t perform that action at this time.
0 commit comments