05-oled-display/README.md aktualisiert
This commit is contained in:
1 parent
18946c99f9
commit
67cc76e2eb
1 file changed
+2
-2
@@ -470,7 +470,7 @@ def oled_lauftext(text, stop_event):
|
|||||||
# Laufschrift endlos wiederholen.
|
# Laufschrift endlos wiederholen.
|
||||||
while not stop_event.is_set():
|
while not stop_event.is_set():
|
||||||
|
|
||||||
for x in range(0, gesamtbreite - 128 + 1, 2):
|
for x in range(0, gesamtbreite - 128 + 1, 1):
|
||||||
if stop_event.is_set():
|
if stop_event.is_set():
|
||||||
break
|
break
|
||||||
|
|
||||||
@@ -479,7 +479,7 @@ def oled_lauftext(text, stop_event):
|
|||||||
with oled_lock:
|
with oled_lock:
|
||||||
oled.display(ausschnitt)
|
oled.display(ausschnitt)
|
||||||
|
|
||||||
if stop_event.wait(0.04):
|
if stop_event.wait(0.004):
|
||||||
break
|
break
|
||||||
|
|
||||||
with oled_lock:
|
with oled_lock:
|
||||||
|
|||||||
Reference in new issue
Block a user