projects
/
EVA-2020-02-2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Test tweaks and linting
[EVA-2020-02-2.git]
/
examples
/
noise-profile.py
diff --git
a/examples/noise-profile.py
b/examples/noise-profile.py
index 964deadb06e969833e23ef7a5924ade1aa7edbe2..40844391b84544cadbf154985782f5d52f3d63c6 100755
(executable)
--- a/
examples/noise-profile.py
+++ b/
examples/noise-profile.py
@@
-13,11
+13,11
@@
Press Ctrl+C to exit!
noise = Noise()
disp = ST7735.ST7735(
noise = Noise()
disp = ST7735.ST7735(
-
port=0,
-
cs=ST7735.BG_SPI_CS_FRONT,
-
dc=9,
-
backlight=12,
-
rotation=90)
+ port=0,
+ cs=ST7735.BG_SPI_CS_FRONT,
+ dc=9,
+ backlight=12,
+ rotation=90)
disp.begin()
disp.begin()
@@
-26,7
+26,7
@@
draw = ImageDraw.Draw(img)
while True:
while True:
- low, mid, high, amp = noise.
measur
e()
+ low, mid, high, amp = noise.
get_noise_profil
e()
low *= 128
mid *= 128
high *= 128
low *= 128
mid *= 128
high *= 128