smartscreen-driver 0.2.1__py3-none-any.whl → 0.2.3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- smartscreen_driver/lcd_comm_rev_a.py +7 -4
- {smartscreen_driver-0.2.1.dist-info → smartscreen_driver-0.2.3.dist-info}/METADATA +1 -2
- {smartscreen_driver-0.2.1.dist-info → smartscreen_driver-0.2.3.dist-info}/RECORD +5 -5
- {smartscreen_driver-0.2.1.dist-info → smartscreen_driver-0.2.3.dist-info}/WHEEL +0 -0
- {smartscreen_driver-0.2.1.dist-info → smartscreen_driver-0.2.3.dist-info}/licenses/LICENSE +0 -0
@@ -152,14 +152,17 @@ class LcdCommRevA(LcdComm):
|
|
152
152
|
self.open_serial()
|
153
153
|
|
154
154
|
def clear(self):
|
155
|
-
|
156
|
-
|
157
|
-
)
|
155
|
+
# Bug: orientation needs to be PORTRAIT before clearing
|
156
|
+
backup_orientation = self.orientation
|
157
|
+
self.set_orientation(Orientation.PORTRAIT)
|
158
|
+
|
158
159
|
if self.sub_revision == SubRevision.TURING_3_5:
|
159
160
|
self.send_command(Command.TO_BLACK, 0, 0, 0, 0)
|
160
161
|
else:
|
161
162
|
self.send_command(Command.CLEAR, 0, 0, 0, 0)
|
162
|
-
|
163
|
+
|
164
|
+
# Restore previous orientation
|
165
|
+
self.set_orientation(backup_orientation)
|
163
166
|
|
164
167
|
def screen_off(self):
|
165
168
|
self.send_command(Command.SCREEN_OFF, 0, 0, 0, 0)
|
@@ -1,9 +1,8 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: smartscreen-driver
|
3
|
-
Version: 0.2.
|
3
|
+
Version: 0.2.3
|
4
4
|
Summary: Driver for serial-over-USB displays; library extracted from turing-smart-screen-python
|
5
5
|
Project-URL: homepage, https://github.com/hchargois/smartscreen-driver
|
6
|
-
Author: Mathieu Houdebine
|
7
6
|
Author-email: Hugo Chargois <hugo.chargois@free.fr>
|
8
7
|
License-File: LICENSE
|
9
8
|
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
|
@@ -1,11 +1,11 @@
|
|
1
1
|
smartscreen_driver/lcd_comm.py,sha256=AIkdLZfHFHE8I5TV1OocVvf4j8TBFlm_OBITOG4IQZ8,7608
|
2
|
-
smartscreen_driver/lcd_comm_rev_a.py,sha256=
|
2
|
+
smartscreen_driver/lcd_comm_rev_a.py,sha256=fgwbugiXFEBDRLRAkSzFkxDLsGMvHo7UIJwCnwNwI_U,8330
|
3
3
|
smartscreen_driver/lcd_comm_rev_b.py,sha256=HJaDXKILtdHpuWiKGA5wa_u6q-zvuWhYrr1zcN4T43s,10896
|
4
4
|
smartscreen_driver/lcd_comm_rev_c.py,sha256=gxaAcX8IdTIq3V_kd_Bb3C10vSYxyguX0FyROsC6M_Q,13795
|
5
5
|
smartscreen_driver/lcd_comm_rev_d.py,sha256=16H_rNbYP66nebAePvZ897FIHjVjIeinLGm7-P2TP_w,7290
|
6
6
|
smartscreen_driver/lcd_simulated.py,sha256=ZI6-fUuFeps7_-0AyrQe2Ygo3dF3qfm8ougw0nNRFhE,5624
|
7
7
|
smartscreen_driver/serialize.py,sha256=xG_CBRutI8q3D3kTsG7dhLA0QYmQ_5LCZr9bfC4pey8,1671
|
8
|
-
smartscreen_driver-0.2.
|
9
|
-
smartscreen_driver-0.2.
|
10
|
-
smartscreen_driver-0.2.
|
11
|
-
smartscreen_driver-0.2.
|
8
|
+
smartscreen_driver-0.2.3.dist-info/METADATA,sha256=vJHE_ih2Yb9TbmWHDETwnNSlVK7uJTMX699qDVWtDrA,1248
|
9
|
+
smartscreen_driver-0.2.3.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
10
|
+
smartscreen_driver-0.2.3.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
11
|
+
smartscreen_driver-0.2.3.dist-info/RECORD,,
|
File without changes
|
File without changes
|