Skip to content
This repository was archived by the owner on Oct 28, 2023. It is now read-only.

Commit 00c168b

Browse files
authored
Merge pull request SHA2017-badge#88 from SHA2017-badge/about
Zo is ie mooier.
2 parents e7814d7 + 031146d commit 00c168b

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

esp32/modules/magic.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ def fill_screen_with_crap(c):
1313
sha = hashlib.sha1(str(nr))
1414
s = ubinascii.hexlify(sha.digest())
1515
for j in range(0,8):
16-
x = int.from_bytes(uos.urandom(1), 1)
16+
x = 0 #int.from_bytes(uos.urandom(1), 1)
1717
y = int.from_bytes(uos.urandom(1), 1)
1818
if (x<ugfx.width()) and (y<ugfx.height()):
19-
ugfx.string(x, y, s, "Roboto_Regular12", c)
19+
ugfx.string(x, y, s+s+s, "Roboto_Regular12", c)
2020
ugfx.flush()
2121
print("done.")
2222

@@ -40,11 +40,11 @@ def show_names():
4040
c = False
4141
for n in range(0, len(names)):
4242
color = ugfx.BLACK
43-
#if (c):
44-
# c = False
45-
#else:
46-
# c = True
47-
# color = ugfx.WHITE
43+
if (c):
44+
c = False
45+
else:
46+
c = True
47+
color = ugfx.WHITE
4848
fill_screen_with_crap(color)
4949
x = int.from_bytes(uos.urandom(1), 1)
5050
y = round(int.from_bytes(uos.urandom(1), 1)/2)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy